Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stefan_gomez_music
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
Stefan Gomez
stefan_gomez_music
Commits
5b8aef4b
Commit
5b8aef4b
authored
Feb 21, 2023
by
Stefan Gomez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the URL files to each app and updated the url and settings of the project.
parent
30c28f2f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
1 deletion
+34
-1
urls.py
stefan_gomez_music/About/urls.py
+9
-0
urls.py
stefan_gomez_music/Contact/urls.py
+9
-0
urls.py
stefan_gomez_music/Homepage/urls.py
+9
-0
settings.py
stefan_gomez_music/stefan_gomez_music/settings.py
+3
-0
urls.py
stefan_gomez_music/stefan_gomez_music/urls.py
+4
-1
No files found.
stefan_gomez_music/About/urls.py
0 → 100644
View file @
5b8aef4b
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
'About'
\ No newline at end of file
stefan_gomez_music/Contact/urls.py
0 → 100644
View file @
5b8aef4b
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
'Contact'
\ No newline at end of file
stefan_gomez_music/Homepage/urls.py
0 → 100644
View file @
5b8aef4b
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
'Homepage'
\ No newline at end of file
stefan_gomez_music/stefan_gomez_music/settings.py
View file @
5b8aef4b
...
...
@@ -37,6 +37,9 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'Homepage'
,
'About'
,
'Contact'
,
]
MIDDLEWARE
=
[
...
...
stefan_gomez_music/stefan_gomez_music/urls.py
View file @
5b8aef4b
...
...
@@ -14,8 +14,11 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
path
,
include
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
''
,
include
(
'Homepage.urls'
,
namespace
=
'Homepage'
)),
path
(
'About/'
,
include
(
'About.urls'
,
namespace
=
'About'
)),
path
(
'Contact/'
,
include
(
'Contact.urls'
,
namespace
=
'Contact'
)),
]
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