Rename demo to requirements.txt and upgrade packages

This commit is contained in:
Gabriel Le Breton 2019-07-03 11:07:31 -04:00
parent 624ad01afb
commit f0b96a8aa7
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +0,0 @@
django>=1.9.0
django-rest-auth==0.9.5
djangorestframework>=3.7.0
django-allauth>=0.24.1
six==1.9.0
django-rest-swagger==2.0.7

6
demo/requirements.txt Normal file
View File

@ -0,0 +1,6 @@
django==1.11.22
django-rest-auth==0.9.5
djangorestframework>=3.9.4
django-allauth>=0.39.1
six==1.12.0
django-rest-swagger==2.2.0

View File

@ -10,7 +10,7 @@ Do these steps to make it running (ideally in virtualenv).
cd /tmp
git clone https://github.com/Tivix/django-rest-auth.git
cd django-rest-auth/demo/
pip install -r requirements.pip
pip install -r requirements.txt
python manage.py migrate --settings=demo.settings --noinput
python manage.py runserver --settings=demo.settings