Skip to content

Commit

Permalink
docs: slightly updated example for entry
Browse files Browse the repository at this point in the history
  • Loading branch information
ergo committed Jan 9, 2016
1 parent 748f6bf commit 2244f29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ inside your models file, to extend your existing models (if following the basic
# you can define multiple resource derived models to build a complex
# application like CMS, forum or other permission based solution
class ResourceDerivedModel(Resource):
class Entry(Resource):
"""
Resource of `entry` type
"""
Expand All @@ -168,7 +169,7 @@ inside your models file, to extend your existing models (if following the basic
onupdate='CASCADE',
ondelete='CASCADE', ),
primary_key=True, )
# ... your own properties....
some_property = sa.Column(sa.UnicodeText())
Expand Down

0 comments on commit 2244f29

Please sign in to comment.