Re: custom add-view for admin

2005-12-11 Thread Afternoon
Steffen, There is a ticket for this issue, #714 - http:// code.djangoproject.com/ticket/714, which I would like to create a fix for. However I've not had much time to do that yet. I'm no expert on the problem other that however. I'd just like Django to support this type of thing out of t

custom add-view for admin

2005-12-11 Thread Steffen Glückselig
I wanted to add the ID of the current user (request.user.id) into an object automatically. So I was looking for a way to change the behavior of the default admin-interface for that object. My solution now is to extend the add-view of that object. I changed the urlpatterns to include (r'^admin/web