Guest User

Untitled

a guest
Feb 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. Installed Applications:
  2. ('django.contrib.admin',
  3. 'django.contrib.auth',
  4. 'django.contrib.contenttypes',
  5. 'django.contrib.sessions',
  6. 'django.contrib.messages',
  7. 'django.contrib.staticfiles',
  8. 'rest_framework',
  9. 'dasboard')
  10.  
  11.  
  12. Traceback:
  13. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/django/core/handlers/base.py" in get_response
  14. 119. resolver_match = resolver.resolve(request.path_info)
  15. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/django/core/urlresolvers.py" in resolve
  16. 366. for pattern in self.url_patterns:
  17. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/django/core/urlresolvers.py" in url_patterns
  18. 402. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  19. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/django/core/urlresolvers.py" in urlconf_module
  20. 396. self._urlconf_module = import_module(self.urlconf_name)
  21. File "/home/ubuntu/var/www/django_env/lib/python3.5/importlib/__init__.py" in import_module
  22. 126. return _bootstrap._gcd_import(name[level:], package, level)
  23. File "/home/ubuntu/var/www/mydashboard/mydashboard/urls.py" in <module>
  24. 3. from dasboard import views
  25. File "/home/ubuntu/var/www/mydashboard/dasboard/views.py" in <module>
  26. 6. from rest_framework.response import Response
  27. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/rest_framework/response.py" in <module>
  28. 13. from rest_framework.serializers import Serializer
  29. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/rest_framework/serializers.py" in <module>
  30. 30. from rest_framework.compat import postgres_fields, unicode_to_repr
  31. File "/home/ubuntu/var/www/django_env/lib/python3.5/site-packages/rest_framework/compat.py" in <module>
  32. 26. from django.urls import ( **# noqa**
  33.  
  34. Exception Type: ImportError at /
  35. Exception Value: No module named 'django.urls'
Add Comment
Please, Sign In to add comment