diff options
| author | tom christie tom@tomchristie.com | 2010-12-29 19:37:57 +0000 |
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2010-12-29 19:37:57 +0000 |
| commit | 650111dc8c0800e5b7d4c878c1d454657b68efca (patch) | |
| tree | b2cb8a07eb60abe20012b352d856bb1dcb13f440 /src/testarchive/views.py | |
| download | django-rest-framework-650111dc8c0800e5b7d4c878c1d454657b68efca.tar.bz2 | |
Initial commit of all files to the repository.
Diffstat (limited to 'src/testarchive/views.py')
| -rw-r--r-- | src/testarchive/views.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testarchive/views.py b/src/testarchive/views.py new file mode 100644 index 00000000..a7812dc3 --- /dev/null +++ b/src/testarchive/views.py @@ -0,0 +1,8 @@ +from rest.resource import Resource + +class RootResource(Resource): + """This is my docstring + """ + + def handle_get(self, headers={}, *args, **kwargs): + return (200, {'Name': 'Test', 'Value': 1}, {'Location': 'BLAH'}) |
