Hi,
I'm doing the "getting started with django on heroku/cedar" tutoiral
https://devcenter.heroku.com/articles/django
and when i'm doing the command
heroku run python manage.py syncdb after the part of adding in
Procefile
celeryd: python manage.py celeryd -E -B --loglevel=INFO
i get the next error:
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/core/management/__init__.py", line 443, in
execute_from_command_line
utility.execute()
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/core/management/base.py", line 371, in handle
return self.handle_noargs(**options)
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/core/management/commands/syncdb.py", line 57, in handle_noargs
cursor = connection.cursor()
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/db/backends/__init__.py", line 306, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/home/yeinhorn/heyron/venv/local/lib/python2.7/site-packages/
django/db/backends/postgresql_psycopg2/base.py", line 162, in _cursor
raise ImproperlyConfigured("You need to specify NAME in your
Django settings file.")
django.core.exceptions.ImproperlyConfigured: You need to specify NAME
in your Django settings file.
i have no idea why, i followed the tutorial but it still fails.
i don't know how to solve it, please help!
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en