Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
albert_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
Albert Gagalac
albert_music
Commits
a57dba31
Commit
a57dba31
authored
Feb 13, 2023
by
Albert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revised site-wide url file with path to apps
parent
8bc85999
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
settings.py
albert_music/albert_music/settings.py
+4
-4
urls.py
albert_music/albert_music/urls.py
+5
-1
No files found.
albert_music/albert_music/settings.py
View file @
a57dba31
...
...
@@ -9,11 +9,8 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
import
os
from
pathlib
import
Path
from
dotenv
import
load_dotenv
load_dotenv
()
from
pathlib
import
Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
...
...
@@ -40,6 +37,9 @@ INSTALLED_APPS = [
"django.contrib.sessions"
,
"django.contrib.messages"
,
"django.contrib.staticfiles"
,
'homepage'
,
'about'
,
'contact'
,
]
MIDDLEWARE
=
[
...
...
albert_music/albert_music/urls.py
View file @
a57dba31
...
...
@@ -17,5 +17,9 @@ from django.contrib import admin
from
django.urls
import
path
urlpatterns
=
[
path
(
"admin/"
,
admin
.
site
.
urls
),
"""path('', include('food.urls', namespace="food")),""""
path('homepage/', include('homepage.urls', namespace="
homepage
")),
path('about/', include('about.urls', namespace="
about
")),
path('contact/', include('contact.urls', namespace="
contact
")),
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