Re: Customising admin change_list_results.html template

2008-07-17 Thread Ayaz Ahmed Khan
On Jul 17, 5:17 pm, Ayaz Ahmed Khan <[EMAIL PROTECTED]> wrote: > > Is it possible to have a customised `change_list_results.html` in > one's TEMPLATE_DIR/admin/app_label/model/ directory?  I've it along > with change_list.html, and while changes made to change_list are > picked up, those made to c

Customising admin change_list_results.html template

2008-07-17 Thread Ayaz Ahmed Khan
Is it possible to have a customised `change_list_results.html` in one's TEMPLATE_DIR/admin/app_label/model/ directory? I've it along with change_list.html, and while changes made to change_list are picked up, those made to change_list_results aren't appearing. I may be doing it wrong, I am not s

Re: Customising Admin

2006-12-11 Thread spako
thanks for that, it permissions did the tricks. the editable=False does not do what i require, i want the administrator to be able to view fields but not edit them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Customising Admin

2006-12-11 Thread patrick k.
Am 11.12.2006 um 16:20 schrieb spako: > > i'm using django.contrib.admin for the cms of the site i am building. > > there are a bunch of things i want to do with the cms that i think > might be possible, i've just not found much documentation for this > addon, these things include: > > * replaci

Customising Admin

2006-12-11 Thread spako
i'm using django.contrib.admin for the cms of the site i am building. there are a bunch of things i want to do with the cms that i think might be possible, i've just not found much documentation for this addon, these things include: * replacing a field's output in edit view to what i want (i.e.

Re: Customising Admin

2006-03-28 Thread Rune Strand
Adrian Holovaty wrote: > Hey Rune, > > That problem has been fixed in Django's development branch and will no > longer be an issue in the next release. > > For now, you could hack around it by removing that button with > JavaScript using the admin.js hook... > > Adrian I see! I'm in no rush so

Re: Customising Admin

2006-03-28 Thread Adrian Holovaty
On 3/28/06, Rune Strand <[EMAIL PROTECTED]> wrote: > Thanks! I tried that now. The Add-button disappears, but alas the > 'Save and add another' button is still there and gives an unfriendly > "Permission denied" if clicked. Hey Rune, That problem has been fixed in Django's development branch an

Re: Customising Admin

2006-03-28 Thread Rune Strand
Thanks! I tried that now. The Add-button disappears, but alas the 'Save and add another' button is still there and gives an unfriendly "Permission denied" if clicked. I've been reading the Model docs and the META docs, but I can't find any obvious way. --~--~-~--~~~

Re: Customising Admin

2006-03-28 Thread Wilson Miner
If you only give the user permission to change your object, they will not see an add button when they log in. On 3/28/06, Rune Strand <[EMAIL PROTECTED]> wrote: > > Just to learn Django, I'm 'porting' a small CMS I wrote in PHP for a > customer. While the standard admin buttons "Save an add anoth

Customising Admin

2006-03-28 Thread Rune Strand
Just to learn Django, I'm 'porting' a small CMS I wrote in PHP for a customer. While the standard admin buttons "Save an add another", "Save and continue editing" and "Add ..." makes perfectly sense in most of the back-end functionality, I have one page where it doesn't: A Settings page where thin