0
When trying to start the project on Django 1.9.5, it gives this error :
Unhandled exception in thread started by <function wrapper at 0x7fb7346bfc08>
Traceback (most recent call last):
File "/.virtualenvs/api/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/.virtualenvs/api/local/lib/python2.7/site-packages/channels/management/commands/runserver.py", line 45, in inner_run
self.server_cls = RunserverCommand.server_cls
AttributeError: type object 'Command' has no attribute 'server_cls'
I’ve searched the internet, tried to reinstall and nothing.
Someone’s been through it?
Which command you are using exactly (pure
runserver
?)? Post here yoursettings.py
too, please– Leonardo Pessoa
If you’re using the Django Channels, this bug can help you https://github.com/django/channels/issues/696
– Leonardo Pessoa