fixed urls

This commit is contained in:
Rushil Umaretiya 2020-12-13 14:57:13 -05:00
parent 891bb6226d
commit 9c06620cf4
No known key found for this signature in database
GPG Key ID: 4E8FAF9C926AF959
3 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ SECRET_KEY = "^0n$28f^vwgqqrt2y5o-c3-d8pgzcgv0%uqd%j_c-!!1a(te+!"
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['donot.space']
ALLOWED_HOSTS = ['*']
# Application definition

View File

@ -21,8 +21,8 @@ from frontend import urls as frontend_urls
from frontend.views import landing_page
urlpatterns = [
path("", landing_page, name='landing_page'),
path("admin/", admin.site.urls),
path("api/", include(api_urls)),
path("", landing_page, name='landing_page'),
path("out/", include(frontend_urls)),
]

View File

@ -21,6 +21,7 @@ from django.urls import path
from .views import *
urlpatterns = [
path("", home_view, name="home"),
path(
"login/",
auth_views.LoginView.as_view(template_name="frontend/login.html"),