This means that Django doesn't have a database name configured. The dj_database_url module gets all of the configuration information from an environment variable called DATABASE_URL. You need to make sure that it is set properly.
You can check by running the following: $ heroku config On Monday, July 9, 2012 3:45:52 AM UTC-4, Ben R wrote: > > I'm also seeing this. > > On Tuesday, June 5, 2012 2:14:25 PM UTC-6, yaron83 wrote: >> >> 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
