SHARE
TWEET

Untitled

a guest May 2nd, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (myproject) userx@ubuntu:~/myproject$ python manage.py migrate
  2. Traceback (most recent call last):
  3.   File "manage.py", line 22, in <module>
  4.     execute_from_command_line(sys.argv)
  5.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
  6.     utility.execute()
  7.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
  8.     self.fetch_command(subcommand).run_from_argv(self.argv)
  9.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
  10.     self.execute(*args, **cmd_options)
  11.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/base.py", line 327, in execute
  12.     self.check()
  13.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/base.py", line 359, in check
  14.     include_deployment_checks=include_deployment_checks,
  15.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 62, in _run_checks
  16.     issues.extend(super(Command, self)._run_checks(**kwargs))
  17.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/management/base.py", line 346, in _run_checks
  18.     return checks.run_checks(**kwargs)
  19.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/checks/registry.py", line 81, in run_checks
  20.     new_errors = check(app_configs=app_configs)
  21.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/checks/urls.py", line 16, in check_url_config
  22.     return check_resolver(resolver)
  23.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/core/checks/urls.py", line 26, in check_resolver
  24.     return check_method()
  25.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/urls/resolvers.py", line 254, in check
  26.     for pattern in self.url_patterns:
  27.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/utils/functional.py", line 35, in __get__
  28.     res = instance.__dict__[self.name] = self.func(instance)
  29.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/urls/resolvers.py", line 405, in url_patterns
  30.     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  31.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/utils/functional.py", line 35, in __get__
  32.     res = instance.__dict__[self.name] = self.func(instance)
  33.   File "/home/userx/virtualenvs/myproject/lib/python3.6/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
  34.     return import_module(self.urlconf_name)
  35.   File "/home/userx/virtualenvs/myproject/lib/python3.6/importlib/__init__.py", line 126, in import_module
  36.     return _bootstrap._gcd_import(name[level:], package, level)
  37.   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  38.   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  39.   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  40.   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  41.   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  42.   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  43.   File "/home/userx/myproject/myproject/urls.py", line 24, in <module>
  44.     include(admin.site.urls)),
  45. NameError: name 'include' is not defined
  46. (myproject) userx@ubuntu:~/myproject$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top