Re: Creating a custom view in Django admin,

2010-05-28 Thread Dexter
Thank you chr, I've never experimented with managers, but it's quite useful. I guess a custom manager is also the only way to have a foreignkey to a user in a specific group. But although I'm a bit further, I still don't know the answer to my million-dollar question. Is it possible to have an

Re: Creating a custom view in Django admin,

2010-05-27 Thread chr
On May 26, 7:02 pm, Dexter wrote: > Another thing: > > At the event model, it is unnecessary to display all the events in the > admin. How can I make sure only the events coming (ie > date__gte=datetime.now()) are displayed in the admin? i think a proxy model[1] might work

Creating a custom view in Django admin,

2010-05-26 Thread Dexter
Hi, I am building a newsletter system, but I'm wondering how to incorporate it into the django admin. Just recently I started discovering the capabilities of the admin interface, and finding out how things are supposed to be working. I want to make an interface which follows the django "zen". My