Re: Extending User model after magic-removal

2006-06-11 Thread Marcin Kaszynski
Luke Plant <[EMAIL PROTECTED]> writes: > This is actually quite interesting. You would need to alter your > patch a bit so that it works for models with 'app_label' defined -- > the "model_module.__name__.split('.')[-2]" logic should exist in > only one place. Good point. Another problem I ran

Re: Extending User model after magic-removal

2006-06-10 Thread Luke Plant
On Friday 09 June 2006 18:02, Marcin Kaszynski wrote: > I just spent some time looking for a way to extend the User model in > a way that would allow me to: > > 1. add fields to the model itself, > 2. use the standard admin interface to edit them, > 3. keep changes to Django minimal and generic.

Extending User model after magic-removal

2006-06-09 Thread Marcin Kaszynski
Hi, I just spent some time looking for a way to extend the User model in a way that would allow me to: 1. add fields to the model itself, 2. use the standard admin interface to edit them, 3. keep changes to Django minimal and generic. I came up with something that actually works well and is gen