mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-28 16:25:44 +08:00
Cleaned up some comments
This commit is contained in:
parent
0eed736dd7
commit
c57a6bd499
3 changed files with 23 additions and 4 deletions
|
@ -13,7 +13,6 @@ django_asgi_app = get_asgi_application()
|
|||
|
||||
application = ProtocolTypeRouter({
|
||||
"http": django_asgi_app,
|
||||
# Just HTTP for now. (We can add other protocols later.)
|
||||
'websocket': AuthMiddlewareStack(
|
||||
URLRouter(
|
||||
[re_path(r'ws/', URLRouter(api.routing.websocket_urlpatterns))]
|
||||
|
|
|
@ -66,7 +66,7 @@ else:
|
|||
EMAIL_PORT = str(os.getenv('PROD_EMAIL_PORT'))
|
||||
EMAIL_USE_TLS = str(os.getenv('PROD_EMAIL_TLS'))
|
||||
|
||||
# Will need to install OSGeo4W for this!
|
||||
# GDAL Library needed for Windows
|
||||
if os.name == 'nt':
|
||||
VIRTUAL_ENV_BASE = os.environ['VIRTUAL_ENV']
|
||||
os.environ['PATH'] = os.path.join(
|
||||
|
@ -74,8 +74,6 @@ if os.name == 'nt':
|
|||
os.environ['PROJ_LIB'] = os.path.join(
|
||||
VIRTUAL_ENV_BASE, r'.\Lib\site-packages\osgeo\data\proj') + ';' + os.environ['PATH']
|
||||
|
||||
# To-do: Linux GDAL support here
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'daphne',
|
||||
'django.contrib.admin',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue