aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pygments_api/models.py
diff options
context:
space:
mode:
authormarkotibold2011-03-09 00:26:20 +0100
committermarkotibold2011-03-09 00:26:20 +0100
commitf88d8193a8757ce00b91ba81377216559977b519 (patch)
tree87d35a04f0ebfc5dab34c2dc236797e7011e04bf /examples/pygments_api/models.py
parent32be0581953a7e29ab1d3e1c580ae95a35935e41 (diff)
downloaddjango-rest-framework-f88d8193a8757ce00b91ba81377216559977b519.tar.bz2
Test implemented for #28 Pygments examples should be datetime sorted
models.py is needed if we want to put tests in tests.py (see first line of models.py)
Diffstat (limited to 'examples/pygments_api/models.py')
-rw-r--r--examples/pygments_api/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pygments_api/models.py b/examples/pygments_api/models.py
new file mode 100644
index 00000000..402a813e
--- /dev/null
+++ b/examples/pygments_api/models.py
@@ -0,0 +1 @@
+#We need models.py otherwise the test framework complains (http://code.djangoproject.com/ticket/7198)