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 to be included in your u
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, BeitragAdmin)
> > > admin.site.register(Container, C
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 debug-mode. I have problems
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 actually executed when
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 file
> > ../django/core/h
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 unsub
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-debug-mode):
>
> Using the U
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, in
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, i
9 matches
Mail list logo