On Sat, Oct 6, 2012 at 4:29 AM, Bill Freeman wrote:
> There are a few special cases in which Django works hard to allow you
> to specify a string that will be looked up later. And you can use
> names in function and method definitions that will be defined by the
> time the
There are a few special cases in which Django works hard to allow you
to specify a string that will be looked up later. And you can use
names in function and method definitions that will be defined by the
time the function is called. But python does not, in general, support
forward references.
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
3 matches
Mail list logo