Re: admin.site.register decorator

2011-05-28 Thread Russell Keith-Magee
On Saturday, May 28, 2011, Mateusz Harasymczuk wrote: > Recently, I had to make more than one admin class in admin.py file. > I have never had a situation like this before. > I keept my admin classes in separate files in admin module. > > It came to me that after each class definition you have to

admin.site.register decorator

2011-05-28 Thread Mateusz Harasymczuk
Recently, I had to make more than one admin class in admin.py file. I have never had a situation like this before. I keept my admin classes in separate files in admin module. It came to me that after each class definition you have to make admin.site.register(Class, AdminClass) Hence: - Where is