Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions multichat/multichat/urls.py
Original file line number Diff line number Diff line change
@@ -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),
]
28 changes: 25 additions & 3 deletions multichat/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion multichat/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>

{% load staticfiles %}
{% load static %}

<html>
<head>
Expand Down
38 changes: 33 additions & 5 deletions news_collector/requirements.txt
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion news_collector/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>

{% load staticfiles %}
{% load static %}

<html>
<head>
Expand Down