Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group 25
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andre Matthew Dumandan
widget_group 25
Commits
f4d8d4c3
Commit
f4d8d4c3
authored
Mar 06, 2022
by
Rau Layug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited urls for calendarapp
parent
4c83bf9a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
1 deletion
+6
-1
__init__.cpython-39.pyc
...up_25/widget_group_25/__pycache__/__init__.cpython-39.pyc
+0
-0
settings.cpython-39.pyc
...up_25/widget_group_25/__pycache__/settings.cpython-39.pyc
+0
-0
urls.cpython-39.pyc
..._group_25/widget_group_25/__pycache__/urls.cpython-39.pyc
+0
-0
wsgi.cpython-39.pyc
..._group_25/widget_group_25/__pycache__/wsgi.cpython-39.pyc
+0
-0
settings.py
widget_group_25/widget_group_25/settings.py
+4
-0
urls.py
widget_group_25/widget_group_25/urls.py
+2
-1
No files found.
widget_group_25/widget_group_25/__pycache__/__init__.cpython-39.pyc
View file @
f4d8d4c3
No preview for this file type
widget_group_25/widget_group_25/__pycache__/settings.cpython-39.pyc
View file @
f4d8d4c3
No preview for this file type
widget_group_25/widget_group_25/__pycache__/urls.cpython-39.pyc
View file @
f4d8d4c3
No preview for this file type
widget_group_25/widget_group_25/__pycache__/wsgi.cpython-39.pyc
View file @
f4d8d4c3
No preview for this file type
widget_group_25/widget_group_25/settings.py
View file @
f4d8d4c3
...
...
@@ -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
...
...
widget_group_25/widget_group_25/urls.py
View file @
f4d8d4c3
...
...
@@ -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
)
]
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