Re: Keep getting NameError at /admin/

2009-02-09 Thread djandrow
You need to remove the # from: # from django.contrib import admin # admin.autodiscover() I had the same thing earlier. Heres some more stuff about setting up the admin if you want to read it: http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02 On Feb 9, 11:24 pm,

Re: Keep getting NameError at /admin/

2009-02-09 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 6:24 PM, claudio.br...@googlemail.com < claudio.br...@googlemail.com> wrote: > > > > On 9 Feb, 19:16, Daniel Roseman wrote: > > On Feb 9, 6:57 pm, "claudio.br...@googlemail.com" > > > > wrote: > > > Hi Alex > >

Re: Keep getting NameError at /admin/

2009-02-09 Thread claudio.br...@googlemail.com
On 9 Feb, 19:16, Daniel Roseman wrote: > On Feb 9, 6:57 pm, "claudio.br...@googlemail.com" > > wrote: > > Hi Alex > > > Yes I have the line from django.contrib import admin" in urls.py > > You're going to need to post the whole

Re: Keep getting NameError at /admin/

2009-02-09 Thread Daniel Roseman
On Feb 9, 6:57 pm, "claudio.br...@googlemail.com" wrote: > Hi Alex > > Yes I have the line from django.contrib import admin" in urls.py > You're going to need to post the whole urls.py. It's a bit hard to understand why you're getting that error if you do have that

Re: Keep getting NameError at /admin/

2009-02-09 Thread claudio.br...@googlemail.com
Hi Alex Yes I have the line from django.contrib import admin" in urls.py On 9 Feb, 16:20, Alex Gaynor wrote: > On Mon, Feb 9, 2009 at 11:11 AM, claudio.br...@googlemail.com < > > > > claudio.br...@googlemail.com> wrote: > > > Hi > > > I am new to django and have just

Re: Keep getting NameError at /admin/

2009-02-09 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 11:11 AM, claudio.br...@googlemail.com < claudio.br...@googlemail.com> wrote: > > Hi > > I am new to django and have just started to play. I have a working > (small) app but wanted to turn on the admin console for the project. I > edited the settings.py to include the admin