Re: Application Admin Index

2008-06-18 Thread jurian
Not really no. With this solution I would override the entire admin index. Meaning other applications I use for the same project will not have the luxury of having their own way with the admin index page. My understanding is that applications should plug into projects without overriding each oth

Application Admin Index

2008-06-17 Thread jurian
I recently ran in to the a problem/snag when overriding the admin index page. The thing is that I would like to change the index displayed for a specific application, and not the entire admin index. So I though that it might be a good idea to suggest a system where each application has a template

mod_python issue

2008-04-13 Thread jurian
I've been battling with this issue for half a day now. This is the error I'm getting when starting-up apache: [Sun Apr 13 20:13:29 2008] [error] make_obcallback: could not import mod_python.apache.\n Traceback (most recent call last): File "/home/django/active/Python-2.5.2/lib/python2.5/site-p

Getting new object in save_add

2008-04-02 Thread jurian
Is there a quick and easy way to the get to the newly added object when overriding the save_add method? (Other than having to sort by the primary key and picking the first item, which might not always be dependable...) --~--~-~--~~~---~--~~ You received this mess

Model Inheritance

2008-04-01 Thread jurian
I think I might have the wrong idea about model inheritance. I was using the 'newforms-admin' branch and implemented some model inheritance just to see if it works and it did. Well, let's say that it did what I had expected, or wanted it to do at the time. class X(models.Model): x = models.Char

Re: Retrieving List of Model Names

2008-03-30 Thread jurian
I'll drop the idea of creating the 'get_all_related_model*' method. Thanks On Mar 31, 7:35 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-03-30 at 14:08 -0700, jurian wrote: > > I'm quite new to Django source so I wanted to get some advic

Retrieving List of Model Names

2008-03-30 Thread jurian
I'm quite new to Django source so I wanted to get some advice on some additions I tought of making to the code base. My final goal is to get a list of names of the models related to a certain model (perhaps there is a very simple way of doing this I don't know of). First I though of adding a 'ge