aboutsummaryrefslogtreecommitdiffstats
path: root/src/testarchive/views.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2010-12-29 19:37:57 +0000
committertom christie tom@tomchristie.com2010-12-29 19:37:57 +0000
commit650111dc8c0800e5b7d4c878c1d454657b68efca (patch)
treeb2cb8a07eb60abe20012b352d856bb1dcb13f440 /src/testarchive/views.py
downloaddjango-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.py8
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'})