diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-08-24 01:58:26 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-08-24 01:58:26 +0000 |
| commit | 2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7 (patch) | |
| tree | ee9557256044c720a71bb67341df5413dc0c21a6 /docs/narr/MyProject/myproject/models.py | |
| parent | 980db5f3a1b2e7c8f46136f42ea521ee6987da7c (diff) | |
| download | pyramid-2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7.tar.gz pyramid-2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7.tar.bz2 pyramid-2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7.zip | |
Second checkin using StudlyCaps version of MyProject.
Diffstat (limited to 'docs/narr/MyProject/myproject/models.py')
| -rw-r--r-- | docs/narr/MyProject/myproject/models.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/narr/MyProject/myproject/models.py b/docs/narr/MyProject/myproject/models.py new file mode 100644 index 000000000..42efd9e0b --- /dev/null +++ b/docs/narr/MyProject/myproject/models.py @@ -0,0 +1,14 @@ +from zope.interface import Interface +from zope.interface import implements + +class IMyModel(Interface): + pass + +class MyModel(object): + implements(IMyModel) + pass + +root = MyModel() + +def get_root(environ): + return root |
