From 78feeb8566f845c7ae96aef802f936d85753aa5b Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 23 Sep 2020 12:58:56 -0400 Subject: [PATCH 1/5] Update multichat/requirements.txt --- multichat/requirements.txt | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/multichat/requirements.txt b/multichat/requirements.txt index 26473df4..687cbcdb 100755 --- a/multichat/requirements.txt +++ b/multichat/requirements.txt @@ -1,3 +1,25 @@ -Django~=2.0.0 -channels~=2.0,>=2.0.2 -channels_redis~=2.0 +asgiref==3.2.10 +attrs==20.2.0 +autobahn==20.7.1 +Automat==20.2.0 +cffi==1.14.3 +channels==2.4.0 +constantly==15.1.0 +cryptography==3.1.1 +daphne==2.5.0 +Django==3.1.1 +hyperlink==20.0.1 +idna==2.10 +incremental==17.5.0 +pyasn1==0.4.8 +pyasn1-modules==0.2.8 +pycparser==2.20 +PyHamcrest==2.0.2 +pyOpenSSL==19.1.0 +pytz==2020.1 +service-identity==18.1.0 +six==1.15.0 +sqlparse==0.3.1 +Twisted==20.3.0 +txaio==20.4.1 +zope.interface==5.1.0 From 589bca79305606bbe97c732bbb707cb721dc82bf Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 23 Sep 2020 12:59:29 -0400 Subject: [PATCH 2/5] Update multichat/urls.py --- multichat/multichat/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multichat/multichat/urls.py b/multichat/multichat/urls.py index 2ae83d1e..c024e30d 100644 --- a/multichat/multichat/urls.py +++ b/multichat/multichat/urls.py @@ -1,12 +1,12 @@ from django.urls import path from django.contrib import admin -from django.contrib.auth.views import login, logout +from django.contrib.auth.views import LoginView, LogoutView from chat.views import index urlpatterns = [ path('', index), - path('accounts/login/', login), - path('accounts/logout/', logout), + path('accounts/login/', LoginView.as_view(), name='login'), + path('accounts/logout/', LogoutView.as_view(), name='logout'), path('admin/', admin.site.urls), ] From 9755e8f681b4e1a96dca4bffafb92e921e427834 Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 23 Sep 2020 13:17:13 -0400 Subject: [PATCH 3/5] Update news_collector/requirements.txt --- news_collector/requirements.txt | 38 ++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/news_collector/requirements.txt b/news_collector/requirements.txt index 246e2b9f..cf304de2 100755 --- a/news_collector/requirements.txt +++ b/news_collector/requirements.txt @@ -1,6 +1,34 @@ -Django==2.0.5 -channels==2.1.1 -channels-redis==2.2.1 -requests==2.18.4 -aiohttp==3.2.1 +aiohttp==3.6.2 +asgiref==3.2.10 +async-timeout==3.0.1 +attrs==20.2.0 +autobahn==20.7.1 +Automat==20.2.0 +certifi==2020.6.20 +cffi==1.14.3 +channels==2.4.0 +chardet==3.0.4 +constantly==15.1.0 +cryptography==3.1.1 +daphne==2.5.0 +Django==3.1.1 +hyperlink==20.0.1 +idna==2.10 +incremental==17.5.0 +multidict==4.7.6 +pyasn1==0.4.8 +pyasn1-modules==0.2.8 +pycparser==2.20 +PyHamcrest==2.0.2 +pyOpenSSL==19.1.0 +pytz==2020.1 +requests==2.24.0 +service-identity==18.1.0 +six==1.15.0 +sqlparse==0.3.1 +Twisted==20.3.0 +txaio==20.4.1 +urllib3==1.25.10 +yarl==1.6.0 +zope.interface==5.1.0 From 523f79ce88e62464ba025ac25e0ca71daf1d916c Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 23 Sep 2020 13:18:17 -0400 Subject: [PATCH 4/5] Update news_collector/templates/base.html --- news_collector/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news_collector/templates/base.html b/news_collector/templates/base.html index 107d6246..7f953a5d 100644 --- a/news_collector/templates/base.html +++ b/news_collector/templates/base.html @@ -1,6 +1,6 @@ -{% load staticfiles %} +{% load static %} From 3b978a9c58f14c240140c87a4b18998bbddc5d28 Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 23 Sep 2020 13:18:53 -0400 Subject: [PATCH 5/5] Update multichat/templates/base.html --- multichat/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multichat/templates/base.html b/multichat/templates/base.html index 9ab5edf8..af4159c4 100755 --- a/multichat/templates/base.html +++ b/multichat/templates/base.html @@ -1,6 +1,6 @@ -{% load staticfiles %} +{% load static %}