Advertisement
Guest User

Untitled

a guest
May 6th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. File "manage.py", line 10, in <module>
  2. execute_from_command_line(sys.argv)
  3. File "C:Python27libsite-packagesdjangocoremanagement__init__.py", line 338, in execute_from_command_line
  4. utility.execute()
  5. File "C:Python27libsite-packagesdjangocoremanagement__init__.py", line 303, in execute
  6. settings.INSTALLED_APPS
  7. File "C:Python27libsite-packagesdjangoconf__init__.py", line 48, in __getattr__
  8. self._setup(name)
  9. File "C:Python27libsite-packagesdjangoconf__init__.py", line 44, in _setup
  10. self._wrapped = Settings(settings_module)
  11. File "C:Python27libsite-packagesdjangoconf__init__.py", line 92, in __init__
  12. mod = importlib.import_module(self.SETTINGS_MODULE)
  13. File "C:Python27libimportlib__init__.py", line 37, in import_module
  14. __import__(name)
  15. ImportError: Import by filename is not supported.
  16.  
  17. ImportError: Import by filename is not supported.
  18.  
  19. INSTALLED_APPS = (
  20.  
  21. ... snip ...
  22.  
  23. 'polls',
  24. )
  25.  
  26. INSTALLED_APPS = (
  27.  
  28. ... snip ...
  29.  
  30. 'polls.py',
  31. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement