Re: No admin-url match when DEBUG=False

2009-03-28 Thread Stephan John
Am Freitag, 27. März 2009 21:05:09 schrieb Karen Tracey: > On Fri, Mar 27, 2009 at 9:44 AM, Stephan John wrote: > > Your calls to admin.site.register should not be in your models.py file. > They should be in a file named admin.py and a call to admin.autodiscover() > ought

Re: No admin-url match when DEBUG=False

2009-03-27 Thread Karen Tracey
On Fri, Mar 27, 2009 at 9:44 AM, Stephan John wrote: > > Am Freitag, 27. März 2009 14:28:28 schrieb Karen Tracey: > > On Fri, Mar 27, 2009 at 9:19 AM, Stephan John > wrote: > > > I registered the models with: > > > admin.site.register(Beitrag,

Re: No admin-url match when DEBUG=False

2009-03-27 Thread Stephan John
Am Freitag, 27. März 2009 14:28:28 schrieb Karen Tracey: > On Fri, Mar 27, 2009 at 9:19 AM, Stephan John wrote: > > I registered the models with: > > admin.site.register(Beitrag, BeitragAdmin) > > admin.site.register(Container, ContainerAdmin) > > > > It works fine in

Re: No admin-url match when DEBUG=False

2009-03-27 Thread Karen Tracey
On Fri, Mar 27, 2009 at 9:19 AM, Stephan John wrote: > I registered the models with: > admin.site.register(Beitrag, BeitragAdmin) > admin.site.register(Container, ContainerAdmin) > > It works fine in debug-mode. I have problems only if debug is false. > And those lines are

Re: No admin-url match when DEBUG=False

2009-03-27 Thread Stephan John
Am Freitag, 27. März 2009 14:01:37 schrieb Karen Tracey: > On Fri, Mar 27, 2009 at 8:10 AM, Stephan John wrote: > > Hi all, > > > > I have some trouble with my Admin-URLs. When I set DEBUG=False (in the > > settings.py) I become this error (I've changed some lines in the

Re: No admin-url match when DEBUG=False

2009-03-27 Thread Karen Tracey
Please see my reply in the other thread with this same question. Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To

Re: No admin-url match when DEBUG=False

2009-03-27 Thread Karen Tracey
On Fri, Mar 27, 2009 at 8:10 AM, Stephan John wrote: > > Hi all, > > I have some trouble with my Admin-URLs. When I set DEBUG=False (in the > settings.py) I become this error (I've changed some lines in the file > ../django/core/handlers/base.py to see the error in

No admin-url match when DEBUG=False

2009-03-27 Thread Mawilo
Hi all, I have some trouble with my Admin-URLs. When I set DEBUG=False (in the settings.py) I become this error (I've changed some lines in the file ../django/core/handlers/base.py to see the error in no-debug- mode): Using the URLconf defined in project.urls, Django tried these URL patterns,

No admin-url match when DEBUG=False

2009-03-27 Thread Stephan John
Hi all, I have some trouble with my Admin-URLs. When I set DEBUG=False (in the settings.py) I become this error (I've changed some lines in the file ../django/core/handlers/base.py to see the error in no-debug-mode): Using the URLconf defined in project.urls, Django tried these URL patterns,