On Fri, Aug 28, 2009 at 3:12 AM, Léon Dignòn<[email protected]> 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/ [email protected] | (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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

