Generic views assumed any object's _meta will be model Options. This is not true for ModelForms for example. Took isinstance(obj, Model) in use instead. |
||
---|---|---|
.. | ||
decorators | ||
generic | ||
__init__.py | ||
csrf.py | ||
debug.py | ||
defaults.py | ||
i18n.py | ||
static.py |
Generic views assumed any object's _meta will be model Options. This is not true for ModelForms for example. Took isinstance(obj, Model) in use instead. |
||
---|---|---|
.. | ||
decorators | ||
generic | ||
__init__.py | ||
csrf.py | ||
debug.py | ||
defaults.py | ||
i18n.py | ||
static.py |