Is there a way to express Django admin settings inside the models, instead of admin.py?

Posted by Off Rhoden on Stack Overflow See other posts from Stack Overflow or by Off Rhoden
Published on 2009-12-16T20:13:08Z Indexed on 2010/04/01 10:33 UTC
Read the original article Hit count: 263

Talking about Django 1.1.1. I thought at one time (0.96) the kinds of things put inside of the admin.py file were part of an inner class of the model.

There's a certain beauty in having all of this in one place. But I don't know if this change was out of necessity. Any compelling reasons one way or the other?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin