Commit d4340bc059c3178aa4927fe5b0b52985bd3686a7
1 parent
dad0c94b
Exists in
master
and in
39 other branches
Adding tastypie settings
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
src/colab/custom_settings.py
@@ -298,6 +298,10 @@ CONVERSEJS_ALLOW_CONTACT_REQUESTS = False | @@ -298,6 +298,10 @@ CONVERSEJS_ALLOW_CONTACT_REQUESTS = False | ||
298 | CONVERSEJS_SHOW_ONLY_ONLINE_USERS = True | 298 | CONVERSEJS_SHOW_ONLY_ONLINE_USERS = True |
299 | 299 | ||
300 | 300 | ||
301 | +# Tastypie settings | ||
302 | +TASTYPIE_DEFAULT_FORMATS = ['json', ] | ||
303 | + | ||
304 | + | ||
301 | try: | 305 | try: |
302 | from local_settings import * | 306 | from local_settings import * |
303 | except ImportError: | 307 | except ImportError: |