Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Error in the heroku/django tutorial raise ImproperlyConfigured("You need to specify NAME in your Django settings file.") django.core.exceptions.Imprope rlyConfigured: You need to specify NAME in your Django settings file.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
yaron83  
View profile  
 More options Jun 5 2012, 4:14 pm
From: yaron83 <yaro...@gmail.com>
Date: Tue, 5 Jun 2012 13:14:25 -0700 (PDT)
Local: Tues, Jun 5 2012 4:14 pm
Subject: Error in the heroku/django tutorial raise ImproperlyConfigured("You need to specify NAME in your Django settings file.") django.core.exceptions.ImproperlyConfigu red: You need to specify NAME in your Django settings file.
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben R  
View profile  
 More options Jul 9 2012, 3:45 am
From: Ben R <b...@nutrislice.com>
Date: Mon, 9 Jul 2012 00:45:52 -0700 (PDT)
Local: Mon, Jul 9 2012 3:45 am
Subject: Re: Error in the heroku/django tutorial raise ImproperlyConfigured("You need to specify NAME in your Django settings file.") django.core.exceptions.ImproperlyConfigu red: You need to specify NAME in your Django settings file.

I'm also seeing this.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kenneth Reitz  
View profile  
 More options Aug 8 2012, 12:48 am
From: Kenneth Reitz <thepython...@gmail.com>
Date: Tue, 7 Aug 2012 21:48:09 -0700 (PDT)
Local: Wed, Aug 8 2012 12:48 am
Subject: Re: Error in the heroku/django tutorial raise ImproperlyConfigured("You need to specify NAME in your Django settings file.") django.core.exceptions.ImproperlyConfigu red: You need to specify NAME in your Django settings file.

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Vorski  
View profile  
 More options Aug 24 2012, 10:03 am
From: Victor Vorski <vic...@vorski.com>
Date: Fri, 24 Aug 2012 07:03:19 -0700 (PDT)
Local: Fri, Aug 24 2012 10:03 am
Subject: Re: Error in the heroku/django tutorial raise ImproperlyConfigured("You need to specify NAME in your Django settings file.") django.core.exceptions.ImproperlyConfigu red: You need to specify NAME in your Django settings file.

you need to do:

% heroku pg:promote HEROKU_POSTGRESQL_BLUE

to make sure that your DATABASE_URL is set.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »