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 --nostatic and --insecure args to runserver command. Fixes django/daphne#449 #450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidfb
Copy link

@davidfb davidfb commented Nov 7, 2022

Both arguments are accepted by django.contrib.staticfiles' runserver command, so Daphne's should include them too to provide maximum compatibility.

Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these arguments used anywhere? 🤔

@davidfb
Copy link
Author

davidfb commented Nov 7, 2022

Yes. The options populated by these arguments were already in use on Daphne's code (https://github.com/django/daphne/blob/main/daphne/management/commands/runserver.py#L150) but without the arguments definition, those options would never be able to be populated with a value other than their defaults.

@carltongibson
Copy link
Member

Good. Thanks.

@josephetareh

This comment has been minimized.

1 similar comment
@Kaju-Bubanja

This comment has been minimized.

@django django locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants