Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 23, 2005 11:23:22

Benjamin R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Extend list template of admin app?


Hi,
I would like to add some custom mass-editing capabilities to the admin
app, and for this I would like to know if it's possible to extend the
list template of the admin app.

Looking at the code in django/contrib/admin/views/main.py I see, that
the template is entirely dynamically created (which is obvious as the
admin app doesn't know which model there will be), which makes
extending the template impossible.

But maybe there's some hook or some other trick to allow this.

Thanks in advance

Benjamin

Offline

#2 Nov. 23, 2005 12:33:16

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Extend list template of admin app?


On 11/23/05, Benjamin Reitzammer <> wrote:
> Looking at the code in django/contrib/admin/views/main.py I see, that
> the template is entirely dynamically created (which is obvious as the
> admin app doesn't know which model there will be), which makes
> extending the template impossible.

You'll probably want to follow the new-admin branch, which is working
on rewriting the admin application so it doesn't do that.


--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

#3 Nov. 24, 2005 01:49:38

oggie r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Extend list template of admin app?


How many more changes are expected on that branch? And is there an ETA
on when it might merge/if it might merge with the head?

-rob

Offline

#4 Nov. 24, 2005 02:51:23

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Extend list template of admin app?


On 11/23/05, oggie rob <> wrote:
> How many more changes are expected on that branch? And is there an ETA
> on when it might merge/if it might merge with the head?

The branch is done. I'm planning on merging it in the next couple of
days -- or as soon as tonight or tomorrow, if I can flee the
Thanksgiving festivities effectively.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

Board footer

Moderator control

Enjoy the 23rd of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support