Hola,

I'm finding that if my inlines aren't defined before use in the
admin.py, I'm getting the following errors:

inlines=('MyModelInline',)
"issubclass() arg 1 must be a class" Errors

inlines=(MyModelInline,)
"name 'MyModelInline' is not defined"

This is a minor issue, easily solved by putting the inlines at the top
of the admin.py

Is this meant to be how it works?

cheers
L.

-- 
...we look at the present day through a rear-view mirror. This is
something Marshall McLuhan said back in the Sixties, when the world
was in the grip of authentic-seeming future narratives. He said, “We
look at the present through a rear-view mirror. We march backwards
into the future.”

http://www.warrenellis.com/?p=14314

-- 
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.

Reply via email to