Sunday, May 8, 2011

Re: Using fields from multiple models (connected by foreign key) in the ModelAdmin



On Sun, May 8, 2011 at 12:00 AM, Oleg Lomaka <oleg.lomaka@gmail.com> wrote:
You have started from the beginning. Take a look at my very first reply in this thread. Remove 'areacode' and 'number' fields from your MemberAdmin. Let them be available from PhoneInline and AddressInline. You will be see them on the same admin page, just in other visual block where inline forms display.

Sure, if you don't like such things, you are always up to extend admin template for exactly this view and output anything you like.



Yes, maybe that'll be a good way to learn to grasp the concept of django. Thanks. 

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate