update README and travis config

This commit is contained in:
Mateusz Sikora 2014-07-17 10:41:25 +02:00
parent 17aecc3a02
commit 5fccb820ff
2 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,8 @@ python:
- "2.6"
- "2.7"
env:
- DJANGO=1.5.7
- DJANGO=1.6.4
- DJANGO=1.5.8
- DJANGO=1.6.5
install:
- pip install -q Django==$DJANGO --use-mirrors
- pip install coveralls

View File

@ -27,6 +27,10 @@ Installation
3. Add rest_auth app to INSTALLED\_APPS in your django settings.py
INSTALLED_APPS = (
...,
'rest_framework',
'rest_framework.authtoken',
'registration',
...,
'rest_auth',
)
@ -43,7 +47,7 @@ Installation
)
}
5. Lastly, this project accepts the following Django setting values. You can set the UserProfile model and/or create your own REST registration backend for django-registration
5. (optional) Lastly, this project accepts the following Django setting values. You can set the UserProfile model (do not define it if you are not using any UserProfile model) and/or create your own REST registration backend for django-registration (default is registration.backends.simple.views.RegistrationView)
REST_REGISTRATION_BACKEND = 'rest_auth.backends.rest_registration.RESTRegistrationView'
REST_PROFILE_MODULE = 'accounts.UserProfile'