[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 messag
[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 o
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 admi
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
Whilst
Hello,
I have 3 apps. When records are saved to each app I want to associate
tags to the records. In order for each app to access the same tags I
think I would need a Tag app. Is it possible for models in different
apps to access models in another ?
So..
App1
class m1(models.Model):
tag = model
6 matches
Mail list logo