Hi, I'm using django 1.0.2 final, and for a test I setted the admin
site configuration in the urls.py and used the Admin inner class like
this:
class MyModel(...):
...
class Admin():
pass
And then my model is registered in the admin site.
But I see that to use an admin.py file and use the admin.site.register
(...) method and class definition in that file, and I use it.
Have someone tested this too? Worked?
PS.: it's not doubt, but curiosity
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---