mirror of
https://github.com/Rushilwiz/spaceout.git
synced 2025-04-18 18:40:16 -04:00
fixed urls
This commit is contained in:
parent
891bb6226d
commit
9c06620cf4
|
@ -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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['donot.space']
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
|
@ -21,8 +21,8 @@ from frontend import urls as frontend_urls
|
||||||
from frontend.views import landing_page
|
from frontend.views import landing_page
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
path("", landing_page, name='landing_page'),
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path("api/", include(api_urls)),
|
path("api/", include(api_urls)),
|
||||||
path("", landing_page, name='landing_page'),
|
|
||||||
path("out/", include(frontend_urls)),
|
path("out/", include(frontend_urls)),
|
||||||
]
|
]
|
||||||
|
|
|
@ -21,6 +21,7 @@ from django.urls import path
|
||||||
from .views import *
|
from .views import *
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
path("", home_view, name="home"),
|
||||||
path(
|
path(
|
||||||
"login/",
|
"login/",
|
||||||
auth_views.LoginView.as_view(template_name="frontend/login.html"),
|
auth_views.LoginView.as_view(template_name="frontend/login.html"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user