aboutsummaryrefslogtreecommitdiffstats
path: root/examples/settings.py
diff options
context:
space:
mode:
authormarkotibold2011-06-25 13:08:46 +0200
committermarkotibold2011-06-25 13:08:46 +0200
commitddd36206bc7a403b2ba43de7b4c43d5bf6466399 (patch)
tree82c90b5b8012466a36748c6b542e2be949820129 /examples/settings.py
parent409ee533fd28b742f4e790dc56aa686f44db1fcd (diff)
downloaddjango-rest-framework-ddd36206bc7a403b2ba43de7b4c43d5bf6466399.tar.bz2
Added a fixture so that the users default have a user to login with and play with permissions.
Diffstat (limited to 'examples/settings.py')
-rw-r--r--examples/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/settings.py b/examples/settings.py
index 1537c5f8..2eab2cfa 100644
--- a/examples/settings.py
+++ b/examples/settings.py
@@ -89,6 +89,12 @@ TEMPLATE_DIRS = (
# Don't forget to use absolute paths, not relative paths.
)
+# for loading initial data
+##SERIALIZATION_MODULES = {
+ # 'yml': "django.core.serializers.pyyaml"
+
+#}
+
INSTALLED_APPS = (
'django.contrib.auth',
@@ -104,6 +110,7 @@ INSTALLED_APPS = (
'objectstore',
'pygments_api',
'blogpost',
+ 'permissionsexample',
)
import os