Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add svg to the documentation of the --output arg of graph_models #1829

Open
mardukbp opened this issue Jul 5, 2023 · 1 comment
Open

Add svg to the documentation of the --output arg of graph_models #1829

mardukbp opened this issue Jul 5, 2023 · 1 comment

Comments

@mardukbp
Copy link

mardukbp commented Jul 5, 2023

In the current version of django-extensions (3.2.3) the documentation of the command graph_models

python manage.py graph_models --help

only mentions png and jpg as possible outputs. Searching in the GH issues I learned that svg is also supported. This should be included in the documentation. SVG is useful since it is not currently possible to specify the size or the dpi of the bitmap output (see #1429).

@varunsaral
Copy link

I think it will be easy to do. Just have to add the in svg in

'--output -o': {
'action': 'store',
'dest': 'outputfile',
'help': 'Render output file. Type of output dependend on file extensions. Use png or jpg to render graph to image.',
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants