Commit f4d8d4c3 authored by Rau Layug's avatar Rau Layug

Edited urls for calendarapp

parent 4c83bf9a
......@@ -12,6 +12,10 @@ https://docs.djangoproject.com/en/4.0/ref/settings/
from pathlib import Path
# put this in the imports part of settings.py (from Lecture 7)
from dotenv import load_dotenv
load_dotenv()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
......
......@@ -19,5 +19,6 @@ from django.urls import include,path
urlpatterns = [
path('homepage/', include('homepage.urls', namespace="homepage")),
path('announcements/', include('announcementboard.urls', namespace="announcementboard")),
path('admin/', admin.site.urls),
path('calendar/', include('calendarapp.urls', namespace="calendar")),
path('admin/', admin.site.urls)
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment