Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\django\mysite>python manage.py startapp polls
- C:\django\mysite>python manage.py makemigrations polls
- Traceback (most recent call last):
- File "C:\Python34\lib\site-packages\django\apps\config.py", line 114, in creat
- e
- cls = getattr(mod, cls_name)
- AttributeError: 'module' object has no attribute 'staticfilespolls'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "manage.py", line 10, in <module>
- execute_from_command_line(sys.argv)
- File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line
- 338, in execute_from_command_line
- utility.execute()
- File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line
- 312, in execute
- django.setup()
- File "C:\Python34\lib\site-packages\django\__init__.py", line 18, in setup
- apps.populate(settings.INSTALLED_APPS)
- File "C:\Python34\lib\site-packages\django\apps\registry.py", line 85, in popu
- late
- app_config = AppConfig.create(entry)
- File "C:\Python34\lib\site-packages\django\apps\config.py", line 119, in creat
- e
- import_module(entry)
- File "C:\Python34\lib\importlib\__init__.py", line 104, in import_module
- return _bootstrap._gcd_import(name[level:], package, level)
- File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
- File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
- File "<frozen importlib._bootstrap>", line 2201, in _find_and_load_unlocked
- ImportError: No module named 'django.contrib.staticfilespolls'
Advertisement
Add Comment
Please, Sign In to add comment