Re: Unable to load a modified tabular.html

2013-10-24 Thread Vittorio
It helped indeed. Thank you very much! Vittorio Il giorno 24/ott/2013, alle ore 19:00, Pantelis Petridis ha scritto: > You don't have to create any custom view. Just set the template in your > inline model > > class MyInline(admin.TabularInline): > template = 'path/to/the/template.html' >

Re: Unable to load a modified tabular.html

2013-10-24 Thread michael . zqm
You may try this: 1. Create new folders under $MYPROJECT named my_templates/admin/edit_inline/ 2. Save your customized tabular.html under my_templates/admin/edit_inline/ 3. Edit settings.py as below: TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or

Re: Unable to load a modified tabular.html

2013-10-24 Thread Pantelis Petridis
You don't have to create any custom view. Just set the template in your inline model class MyInline(admin.TabularInline): template = 'path/to/the/template.html' Hope this helps! On 10/24/2013 06:32 PM, Vittorio wrote: Context: Mac OS X 10.7, Django 1.5.4 using Admin I was able to

Unable to load a modified tabular.html

2013-10-24 Thread Vittorio
Context: Mac OS X 10.7, Django 1.5.4 using Admin I was able to taylor the admin/edit_inline/tabular.html to eliminate some redundant info (such as the obsessive label indicating from which Object is extracted the inline record, repeated record by record!) in my many inlines putting the