Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
enricosuplico_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
Enrico Lucio A. Suplico
enricosuplico_music
Commits
173c6092
Commit
173c6092
authored
Feb 16, 2023
by
Enrico Lucio A. Suplico
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated enricosuplico_music file
parent
32f6ffa0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
settings.cpython-310.pyc
.../enricosuplico_music/__pycache__/settings.cpython-310.pyc
+0
-0
settings.py
enricosuplico_music/enricosuplico_music/settings.py
+1
-0
models.py
enricosuplico_music/homepage/models.py
+1
-1
No files found.
enricosuplico_music/enricosuplico_music/__pycache__/settings.cpython-310.pyc
View file @
173c6092
No preview for this file type
enricosuplico_music/enricosuplico_music/settings.py
View file @
173c6092
...
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
...
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'django.contrib.staticfiles'
,
'homepage.apps.HomepageConfig'
]
]
MIDDLEWARE
=
[
MIDDLEWARE
=
[
...
...
enricosuplico_music/homepage/models.py
View file @
173c6092
...
@@ -13,5 +13,5 @@ class Album(models.Model):
...
@@ -13,5 +13,5 @@ class Album(models.Model):
class
Song
(
models
.
Model
):
class
Song
(
models
.
Model
):
song_title
=
models
.
CharField
(
max_length
=
50
,
unique
=
True
)
song_title
=
models
.
CharField
(
max_length
=
50
,
unique
=
True
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
album
=
models
.
ForeignKey
(
a
lbum
,
on_delete
=
models
.
CASCADE
)
album
=
models
.
ForeignKey
(
A
lbum
,
on_delete
=
models
.
CASCADE
)
song_length
=
models
.
IntegerField
song_length
=
models
.
IntegerField
\ 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