Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
c89a8d41
authored
Apr 20, 2020
by
Chif Gergő
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize ASGI application
parent
d00e97ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
recircle/recircle/routing.py
+5
-0
recircle/recircle/settings/base.py
+3
-0
No files found.
recircle/recircle/routing.py
0 → 100644
View file @
c89a8d41
from
channels.routing
import
ProtocolTypeRouter
application
=
ProtocolTypeRouter
({
# Empty for now (http->django views is added by default)
})
recircle/recircle/settings/base.py
View file @
c89a8d41
...
@@ -43,6 +43,7 @@ INSTALLED_APPS = [
...
@@ -43,6 +43,7 @@ INSTALLED_APPS = [
"corsheaders"
,
"corsheaders"
,
"guardian"
,
"guardian"
,
"django_nose"
,
"django_nose"
,
"channels"
]
]
LOCAL_APPS
=
[
LOCAL_APPS
=
[
...
@@ -240,3 +241,5 @@ AUTHENTICATION_BACKENDS = (
...
@@ -240,3 +241,5 @@ AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend'
,
# this is default
'django.contrib.auth.backends.ModelBackend'
,
# this is default
'guardian.backends.ObjectPermissionBackend'
,
'guardian.backends.ObjectPermissionBackend'
,
)
)
ASGI_APPLICATION
=
"recircle.routing.application"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment