Guest User

Untitled

a guest
May 19th, 2015
769
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. C:\django\mysite>python manage.py startapp polls
  2.  
  3. C:\django\mysite>python manage.py makemigrations polls
  4. Traceback (most recent call last):
  5. File "C:\Python34\lib\site-packages\django\apps\config.py", line 114, in creat
  6. e
  7. cls = getattr(mod, cls_name)
  8. AttributeError: 'module' object has no attribute 'staticfilespolls'
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "manage.py", line 10, in <module>
  14. execute_from_command_line(sys.argv)
  15. File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line
  16. 338, in execute_from_command_line
  17. utility.execute()
  18. File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line
  19. 312, in execute
  20. django.setup()
  21. File "C:\Python34\lib\site-packages\django\__init__.py", line 18, in setup
  22. apps.populate(settings.INSTALLED_APPS)
  23. File "C:\Python34\lib\site-packages\django\apps\registry.py", line 85, in popu
  24. late
  25. app_config = AppConfig.create(entry)
  26. File "C:\Python34\lib\site-packages\django\apps\config.py", line 119, in creat
  27. e
  28. import_module(entry)
  29. File "C:\Python34\lib\importlib\__init__.py", line 104, in import_module
  30. return _bootstrap._gcd_import(name[level:], package, level)
  31. File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
  32. File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
  33. File "<frozen importlib._bootstrap>", line 2201, in _find_and_load_unlocked
  34. ImportError: No module named 'django.contrib.staticfilespolls'
Advertisement
Add Comment
Please, Sign In to add comment