Hello, Please post your questions about Django usage on the django-users mailing list. This group is about Django development itself.
To your question: try opening django/contrib/admin/__init__.py and you'll find that ModelAdmin is imported from the options module of the admin package. The same approach can be applied in finding the Model class or any other imported stuff. Good luck, Ion On Sun, Mar 24, 2013 at 8:06 AM, ANKIT BAGARIA <[email protected]>wrote: > > <https://lh3.googleusercontent.com/-74FD6LEgU7U/UU6W5tVGSLI/AAAAAAAAAFc/oFERtuHvfdQ/s1600/Capture1.PNG> > > the above class AuthorAdmin is inherited from ModelAdmin. Please help in > finding where does the class ModelAdmin reside. > > I am going into django/contrib/admin but cannot find any class named > modelAdmin. > > > <https://lh3.googleusercontent.com/-gdv6OhDyNbk/UU6XB891ByI/AAAAAAAAAFk/1BweKFcWflc/s1600/Capture2.PNG> > > same for this one. I am going into django/db//models but cannot find any > class named Model in it. Please help in locating it. > > > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-developers?hl=en > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
