-
Jason Grider authored
Updating views.py to support changes in Peewee version 3.0 (for Fields the model_class attribute has changed to model). Previous versions of Peewee should work because of the try: except: loop I put in to first try model_class then on AttributeError try model.
b78fbc50
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| contrib | ||
| form | ||
| model | ||
| static | ||
| templates | ||
| tests | ||
| translations | ||
| __init__.py | ||
| _backwards.py | ||
| _compat.py | ||
| actions.py | ||
| babel.py | ||
| base.py | ||
| consts.py | ||
| helpers.py | ||
| menu.py | ||
| tools.py |