On Apr 27, 6:11 am, mynameisgabe <[EMAIL PROTECTED]> wrote:
> Hello all -
>
> I'm using django's awesome built in admin for internal folks to view
> and manage users and the data associated with users. I've got a model
> (let's call it "Article") that contains a foreignkey pointing to the
> django.contrib.auth.models.User. That seems to be working perfectly
> except for one thing is stumping me (right now) - the admin tool
> correctly displays a list of Users to choose when you're creating/
> editing an Article, but not the other way around. I don't see a list
> of Articles when I'm editing a User.
>
> Is there a way to do this manually, maybe by overriding the automatic
> template?
Did you remember to set the edit_inline attribute on the ForeignKey
column?
Best,
Erik.
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---