On Monday, February 28, 2011 7:29:17 PM UTC, Vladimir wrote: > > I only followed manuals! Please, Mr. Daniel, give me more details!
Well I don't know which manuals you followed. The online documentation (http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#modeladmin-objects) states this clearly: "The ModelAdmin class is the representation of a model in the admin interface. These are stored in a file named admin.py in your application." So do as it says and move your ModelAdmin class into admin.py, along with the call to admin.site.register, and all should be fine. -- DR. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.