I was able to import django from inside of python 2.6.6 (which is what I'm
going with
at the moment).  However, when I try to display something in a browser,
this is the
problem that I'm getting:

$ python /path/to/file/manage.py runserver
Traceback (most recent call last):
  File
"/home/azureuser/Downloads/django/Django-1.5.1/django/conf/project_template/manage.py",
line 10, in <module>
    execute_from_command_line(sys.argv)
  File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
453, in execute_from_command_line
    utility.execute()
  File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
263, in fetch_command
    app_name = get_commands()[subcommand]
  File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
109, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 53,
in __getattr__
    self._setup(name)
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 48,
in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line
134, in __init__
    raise ImportError("Could not import settings '%s' (Is it on sys.path?):
%s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings '{{ project_name }}.settings' (Is it
on sys.path?): No module named {{ project_name }}.settings

What am I screwing up?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to