I'm confused. Normally, you can access an inner class simply:
<code>
class A:
    class B:
        pass

object = A.B()
</code>

but this dosen't work with Admin:

<code>
object = User.Admin
</code>

Assuming i have a User object with the Admin class defined.

I'm trying to make a app that is similar to the built-in Admin system,
and i want to use the same fields in the Admin class.

Anyone know what I'm doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to