diff options
| author | sergey.volobuev <sergey@mooball.com> | 2013-03-29 07:31:42 +1000 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2013-09-06 18:45:55 -0600 |
| commit | 4ead1210a1f98faf224f19e9382e1cea6b1dd9f9 (patch) | |
| tree | aa5c4037f4c88f7c443a2c1be1535b0c822aac98 /docs/tutorials/wiki2/src/tests | |
| parent | 90b9686a20e6465b9a97ce02e4d10080c0cf271e (diff) | |
| download | pyramid-4ead1210a1f98faf224f19e9382e1cea6b1dd9f9.tar.gz pyramid-4ead1210a1f98faf224f19e9382e1cea6b1dd9f9.tar.bz2 pyramid-4ead1210a1f98faf224f19e9382e1cea6b1dd9f9.zip | |
removed __init__ methods from SQLAlchemy models in the documentation because the latter generates a default constructor
Diffstat (limited to 'docs/tutorials/wiki2/src/tests')
| -rw-r--r-- | docs/tutorials/wiki2/src/tests/tutorial/models.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/tutorials/wiki2/src/tests/tutorial/models.py b/docs/tutorials/wiki2/src/tests/tutorial/models.py index 91e5a0019..4f7e1e024 100644 --- a/docs/tutorials/wiki2/src/tests/tutorial/models.py +++ b/docs/tutorials/wiki2/src/tests/tutorial/models.py @@ -29,9 +29,6 @@ class Page(Base): name = Column(Text, unique=True) data = Column(Text) - def __init__(self, name, data): - self.name = name - self.data = data class RootFactory(object): __acl__ = [ (Allow, Everyone, 'view'), |
