jstacoder / flask-cms

a minimal CMS built on the pythonic MTV (model / template / view) pattern, implemented using the flask webframework
136 stars 37 forks source link

http://127.0.0.1:8088/admin/add/blog #9

Closed tanyewei closed 9 years ago

tanyewei commented 9 years ago

AttributeError: 'AddBlogForm' object has no attribute 'category'

jstacoder commented 9 years ago

importing Category early for the lambda was causing a recursive import error, I needed to extract import into separate function to import the Category model during run time.