Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Operation Search
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
adam.fisher1
Operation Search
Commits
eaf01201
Commit
eaf01201
authored
Jan 20, 2025
by
adam.fisher1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update urls.py
parent
f1051a73
Pipeline
#711
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
urls.py
django_project/urls.py
+2
-4
No files found.
django_project/urls.py
View file @
eaf01201
...
...
@@ -16,10 +16,8 @@ Including another URLconf
"""
# django_project/urls.py
from
django.contrib
import
admin
from
django.urls
import
path
,
include
# new
from
django.urls
import
path
,
include
urlpatterns
=
[
path
(
"admin/"
,
admin
.
site
.
urls
),
path
(
""
,
include
(
"pages.urls"
)),
# new
path
(
''
,
include
(
'pages.urls'
)),
# Include the 'pages' app's URLs
]
\ No newline at end of file
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