django admin form customization

56 views
Skip to first unread message

anand jeyahar

unread,
Apr 3, 2012, 12:53:33 AM4/3/12
to Django users
Hi,
Am trying to customize the django admin pages and having trouble
with it.

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.

anand jeyahar

unread,
Apr 3, 2012, 5:40:48 AM4/3/12
to Django users
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.
Reply all
Reply to author
Forward
0 new messages