Skip to content

Conversation

mwhansen
Copy link

Since django.core.management.runserver.Command doesn't have option_list in Django >= 1.8, the devserver command does not have the --noreload option causing autoreloading not to happen. This pull request makes devserver use argparse in Django >= 1.8.

@delinhabit delinhabit force-pushed the django-18-argparse branch from 481b01f to c71696a Compare May 3, 2016 14:42
@ShipraShalini
Copy link

@mwhansen I cannot run it with the changes you have made.
It says AttributeError: type object 'Command' has no attribute 'option_list' at line 47 (for backwards compatibility).
If catch the Exception, i get TypeError: 'Namespace' object is not iterable in run_from_argv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants