[EMAIL PROTECTED] wrote:
> Thanks Steve. I currently don't have an admin.py file in any of my
> apps. Is this as simple as creating the file and moving all
> admin.site.register() and admin.ModelAdmin sections into it ? and the
> file gets autoloaded ?
>
Pretty much, yes.
regards
Steve
Thanks Steve. I currently don't have an admin.py file in any of my
apps. Is this as simple as creating the file and moving all
admin.site.register() and admin.ModelAdmin sections into it ? and the
file gets autoloaded ?
--~--~-~--~~~---~--~~
You received this
[EMAIL PROTECTED] wrote:
> OK, I'm new to Django and this is probably making a silly mistake but,
> to me the admin.site.register(Tag) line should appear at the bottom of
> the Tags model. If this is done Django will not syncdb or runserver
> because it thinks "Tag" has been registered more than
OK, I'm new to Django and this is probably making a silly mistake but,
to me the admin.site.register(Tag) line should appear at the bottom of
the Tags model. If this is done Django will not syncdb or runserver
because it thinks "Tag" has been registered more than once. However,
if you put the
Hrm I have this working now, got lucky with a google and found a
django bug that had the info I needed to start. So am now using:
appt4.models import Tag
But am now actually experiencing the bug which is thought to be fixed.
I'm using Django 1.0: http://code.djangoproject.com/ticket/6776
5 matches
Mail list logo