celery==3.1.23
-cryptography==2.3.1
-Django==2.1
+cryptography==2.6.1
+Django==2.2
django-bootstrap4==0.0.8
-django-crispy-forms==1.7.2
django-filter==2.0.0
-django-registration==2.1.2
djangorestframework==3.8.2
gunicorn==19.6.0
jira==1.0.7
-jsonpickle==0.9.3
oauth2==1.9.0.post1
oauthlib==1.1.2
pika==0.10.0
psycopg2==2.6.2
PyJWT==1.4.2
-requests==2.11.0
-django-fernet-fields==0.5
+requests==2.22.0
+django-fernet-fields==0.6
pyyaml==3.13
pytz==2018.5
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
-from django.conf.urls import url, include
+from django.conf.urls import url
from django.urls import path
-from rest_framework import routers
from api.views import (
- BookingViewSet,
- UserViewSet,
lab_profile,
lab_status,
lab_inventory,
GenerateTokenView
)
-router = routers.DefaultRouter()
-router.register(r'bookings', BookingViewSet)
-router.register(r'user', UserViewSet)
-
urlpatterns = [
- url(r'^', include(router.urls)),
path('labs/<slug:lab_name>/profile', lab_profile),
path('labs/<slug:lab_name>/status', lab_status),
path('labs/<slug:lab_name>/inventory', lab_inventory),
'django.contrib.staticfiles',
'django.contrib.humanize',
'bootstrap4',
- 'crispy_forms',
- 'rest_framework',
- 'rest_framework.authtoken',
]
MIDDLEWARE = [