Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rachpurisima_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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rachel
rachpurisima_music
Commits
b4cf924d
Commit
b4cf924d
authored
Feb 13, 2023
by
rachbit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new app: homepage and updated URLs
parent
5012d80b
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
28 additions
and
1 deletion
+28
-1
__init__.py
rachpurisima_music/homepage/__init__.py
+0
-0
admin.py
rachpurisima_music/homepage/admin.py
+3
-0
apps.py
rachpurisima_music/homepage/apps.py
+6
-0
__init__.py
rachpurisima_music/homepage/migrations/__init__.py
+0
-0
models.py
rachpurisima_music/homepage/models.py
+3
-0
tests.py
rachpurisima_music/homepage/tests.py
+3
-0
urls.py
rachpurisima_music/homepage/urls.py
+9
-0
views.py
rachpurisima_music/homepage/views.py
+0
-0
settings.cpython-39.pyc
...ic/rachpurisima_music/__pycache__/settings.cpython-39.pyc
+0
-0
settings.py
rachpurisima_music/rachpurisima_music/settings.py
+2
-0
urls.py
rachpurisima_music/rachpurisima_music/urls.py
+2
-1
No files found.
rachpurisima_music/homepage/__init__.py
0 → 100644
View file @
b4cf924d
rachpurisima_music/homepage/admin.py
0 → 100644
View file @
b4cf924d
from
django.contrib
import
admin
# Register your models here.
rachpurisima_music/homepage/apps.py
0 → 100644
View file @
b4cf924d
from
django.apps
import
AppConfig
class
HomepageConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'homepage'
rachpurisima_music/homepage/migrations/__init__.py
0 → 100644
View file @
b4cf924d
rachpurisima_music/homepage/models.py
0 → 100644
View file @
b4cf924d
from
django.db
import
models
# Create your models here.
rachpurisima_music/homepage/tests.py
0 → 100644
View file @
b4cf924d
from
django.test
import
TestCase
# Create your tests here.
rachpurisima_music/homepage/urls.py
0 → 100644
View file @
b4cf924d
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
# This might be needed, depending on your Django version
app_name
=
"rachpurisima_music"
rachpurisima_music/
rachpurisima_music
/views.py
→
rachpurisima_music/
homepage
/views.py
View file @
b4cf924d
File moved
rachpurisima_music/rachpurisima_music/__pycache__/settings.cpython-39.pyc
View file @
b4cf924d
No preview for this file type
rachpurisima_music/rachpurisima_music/settings.py
View file @
b4cf924d
...
@@ -41,6 +41,8 @@ INSTALLED_APPS = [
...
@@ -41,6 +41,8 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'django.contrib.staticfiles'
,
'homepage'
,
]
]
MIDDLEWARE
=
[
MIDDLEWARE
=
[
...
...
rachpurisima_music/rachpurisima_music/urls.py
View file @
b4cf924d
...
@@ -14,8 +14,9 @@ Including another URLconf
...
@@ -14,8 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
"""
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
path
,
include
urlpatterns
=
[
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'homepage'
,
include
(
'homepage.urls'
,
namespace
=
'homepage'
)),
]
]
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