towards version 0.2
diff --git a/hiccup/settings.py b/hiccup/settings.py
index ee68fce..c231956 100644
--- a/hiccup/settings.py
+++ b/hiccup/settings.py
@@ -23,7 +23,7 @@
SECRET_KEY = '7u+#ha3hk!x+*)clhs46%n*)w1q+5s4+yoc#1!nm0b%fwwrud@'
# SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = False
+DEBUG = True
ALLOWED_HOSTS = ['*']
@@ -38,10 +38,12 @@
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
+ 'rest_framework.authtoken',
'crashreports',
- 'psensor',
+ 'taggit',
'crispy_forms',
'bootstrap3',
+ 'django_extensions',
]
MIDDLEWARE_CLASSES = [
@@ -115,8 +117,12 @@
USE_L10N = True
USE_TZ = True
-
REST_FRAMEWORK = {
+ 'DEFAULT_AUTHENTICATION_CLASSES': (
+ 'rest_framework.authentication.BasicAuthentication',
+ 'rest_framework.authentication.SessionAuthentication',
+ 'rest_framework.authentication.TokenAuthentication',
+ ),
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
),