On Fri, Aug 28, 2009 at 3:12 AM, Léon Dignòn<leon.dig...@gmail.com> wrote: > > Hi, > > I tried to stack two models in the admin interface. Any ideas why I > get this error? > > issubclass() arg 1 must be a class > File "C:\Django\myproject\myapp\admin.py" in <module> > 22. admin.site.register(Manufacturer, ManufacturerAdmin)
You need to import the Manufacturer model in your admin.py -- Frank Wiles Revolution Systems | http://www.revsys.com/ fr...@revsys.com | (800) 647-6298 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---