Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
carynlopezgo_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
Caryn Lopez-Go
carynlopezgo_music
Commits
0195f9dd
Commit
0195f9dd
authored
Feb 21, 2023
by
Caryn Lopez-Go
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed song_length into charfield and release_date into datefield
parent
bc1af097
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
admin.cpython-310.pyc
...nlopezgo_music/Homepage/__pycache__/admin.cpython-310.pyc
+0
-0
models.cpython-310.pyc
...lopezgo_music/Homepage/__pycache__/models.cpython-310.pyc
+0
-0
models.py
carynlopezgo_music/Homepage/models.py
+2
-2
db.sqlite3
carynlopezgo_music/db.sqlite3
+0
-0
No files found.
carynlopezgo_music/Homepage/__pycache__/admin.cpython-310.pyc
View file @
0195f9dd
No preview for this file type
carynlopezgo_music/Homepage/__pycache__/models.cpython-310.pyc
View file @
0195f9dd
No preview for this file type
carynlopezgo_music/Homepage/models.py
View file @
0195f9dd
...
...
@@ -14,7 +14,7 @@ class Album(models.Model):
album_name
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
artist
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
description
=
models
.
TextField
(
max_length
=
500
,
null
=
True
,
blank
=
True
)
release_date
=
models
.
Date
Time
Field
(
"date released"
)
release_date
=
models
.
DateField
(
"date released"
)
label
=
models
.
CharField
(
max_length
=
500
,
null
=
True
,
blank
=
True
)
song_count
=
models
.
IntegerField
(
default
=
0
)
...
...
@@ -25,7 +25,7 @@ class Song(models.Model):
song_title
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
artist
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
album
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
song_length
=
models
.
IntegerField
(
default
=
0
)
song_length
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
music_video
=
models
.
BooleanField
(
default
=
False
)
lyrics
=
models
.
TextField
(
null
=
True
,
blank
=
True
)
...
...
carynlopezgo_music/db.sqlite3
View file @
0195f9dd
No preview for this file type
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