Re: name 'django' is not defined

2007-11-07 Thread Marty Alchin
On 11/7/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > (r"^newComment/$", django.views.generic.create_update.create_object, > dict(model=BlogComment)) Just as I suspected. You need quotes around 'django.views.generic.create_update.create_object' here. It's looking for an object named 'djang

Re: name 'django' is not defined

2007-11-07 Thread Florian Lindner
Am Mittwoch, 7. November 2007 schrieb Marty Alchin: > On 11/7/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > > But why does the root urls.py works that also contains the line > > > > from django.conf.urls.defaults import * > > > > or the manage.py script or another installed app in the same proj

Re: name 'django' is not defined

2007-11-07 Thread Marty Alchin
On 11/7/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > But why does the root urls.py works that also contains the line > > from django.conf.urls.defaults import * > > or the manage.py script or another installed app in the same project > directory? If you post the whole contents of the 'xgm.Blo

Re: name 'django' is not defined

2007-11-07 Thread Thomas Guettler
Am Mittwoch, 7. November 2007 15:41 schrieb Florian Lindner: > Hello, > I'm using Django trunk. > > After some weeks of paused development I started my app again today. But as > soon as I access the URL defined at the root urls.py: > > (r"^blog/", include("xgm.Blog.urls")), > > I get an error: > >

Re: name 'django' is not defined

2007-11-07 Thread Florian Lindner
Am Mittwoch, 7. November 2007 schrieb Thomas Guettler: > Am Mittwoch, 7. November 2007 15:41 schrieb Florian Lindner: > > Hello, > > I'm using Django trunk. > > > > After some weeks of paused development I started my app again today. But > > as soon as I access the URL defined at the root urls.py: