On 11/7/06, paulh <[EMAIL PROTECTED]> wrote: > > Running through the django tutorials I noticed that you cannot create > the inner Admin class as a subclass of object. i.e. > class Admin(object): > -->pass > does not work. Is this deliberate or an historical quirk?
No particular reason that I can think of. Admin certainly doesn't rely upon any old-style class features (other than as a test assertion). If I were to try and invent a reason, I would probably claim something about trying to look like a domain specific language, rather than raw Python code, but I don't think that this is a particularly compelling argument. Out of interest - is there a particular reason that you were trying to use a new-style class for the Admin? Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---