Error with the Django runserver command


Trying to run the local Django server I get the following error in the terminal when running using runserver .

This is the code:

Traceback (most recent call last):
  File "", line 10, in <module>
  File "/usr/lib/python2.7/dist-packages/django/core/management/", line 385, in execute_from_command_line
  File "/usr/lib/python2.7/dist-packages/django/core/management/", line 354, in execute
  File "/usr/lib/python2.7/dist-packages/django/", line 21, in setup
  File "/usr/lib/python2.7/dist-packages/django/apps/", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/usr/lib/python2.7/dist-packages/django/apps/", line 87, in create
    module = import_module(entry)
      File "/usr/lib/python2.7/importlib/", line 37, in        import_module
    ImportError: No module named registration

Why is this happening and how can I prevent it from happening again?

asked by G. Michel 11.02.2016 в 04:27

1 answer


Friend, if I'm not wrong, you've created an application called registration and you forgot to add it to the installed application settings:


Add the application to the list of installed applications and that's it, or else, it's an external package that you used to work on django and you have not added it, that problem occurs.

answered by 10.03.2016 в 03:18