Tuesday, April 3, 2012

Re: django admin form customization

Hi al,

>
>     1. I have customized the admin change form to display as inline
> form  a child table/model fields. Now how do i get this form to
> display existing child rows too? I guess, i will have to customize the
> views.py for the admin app right??
>  If so how can point django to pick up the custom views.py file?
> I know i should use template/<app_name> for the html template files.

Sorry. It was a bad post. Double sorry for the double posting too.

I had a obsolete, hanging media = .js file assignment.
Once i removed the inline forms do display the existing data from the
child table.

--
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