Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joei_yucoco_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
Joei Yucoco
joei_yucoco_music
Commits
2d3a8ded
Commit
2d3a8ded
authored
Feb 20, 2023
by
Joei Yucoco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Altered release_date field so that it uses a DateField
parent
3a3b8a88
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
68 additions
and
1 deletion
+68
-1
models.cpython-39.pyc
joei_yucoco_music/About/__pycache__/models.cpython-39.pyc
+0
-0
0002_auto_20230220_0940.py
..._yucoco_music/About/migrations/0002_auto_20230220_0940.py
+49
-0
0003_alter_album_release_date.py
...o_music/About/migrations/0003_alter_album_release_date.py
+18
-0
0002_auto_20230220_0940.cpython-39.pyc
...ations/__pycache__/0002_auto_20230220_0940.cpython-39.pyc
+0
-0
0003_alter_album_release_date.cpython-39.pyc
.../__pycache__/0003_alter_album_release_date.cpython-39.pyc
+0
-0
models.py
joei_yucoco_music/About/models.py
+1
-1
db.sqlite3
joei_yucoco_music/db.sqlite3
+0
-0
No files found.
joei_yucoco_music/About/__pycache__/models.cpython-39.pyc
View file @
2d3a8ded
No preview for this file type
joei_yucoco_music/About/migrations/0002_auto_20230220_0940.py
0 → 100644
View file @
2d3a8ded
# Generated by Django 3.2 on 2023-02-20 09:40
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'About'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'label'
,
field
=
models
.
CharField
(
default
=
'cool label'
,
max_length
=
100
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'song_count'
,
field
=
models
.
IntegerField
(
default
=
69
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'bio'
,
field
=
models
.
CharField
(
default
=
'Hello World!'
,
max_length
=
700
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'birth_name'
,
field
=
models
.
CharField
(
default
=
'Shrek'
,
max_length
=
100
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'lyrics'
,
field
=
models
.
CharField
(
default
=
'Somebody once told me'
,
max_length
=
5000
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'music_video'
,
field
=
models
.
BooleanField
(
default
=
True
),
preserve_default
=
False
,
),
]
joei_yucoco_music/About/migrations/0003_alter_album_release_date.py
0 → 100644
View file @
2d3a8ded
# Generated by Django 3.2 on 2023-02-20 09:49
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'About'
,
'0002_auto_20230220_0940'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(),
),
]
joei_yucoco_music/About/migrations/__pycache__/0002_auto_20230220_0940.cpython-39.pyc
0 → 100644
View file @
2d3a8ded
File added
joei_yucoco_music/About/migrations/__pycache__/0003_alter_album_release_date.cpython-39.pyc
0 → 100644
View file @
2d3a8ded
File added
joei_yucoco_music/About/models.py
View file @
2d3a8ded
...
@@ -10,7 +10,7 @@ class Album (models.Model):
...
@@ -10,7 +10,7 @@ class Album (models.Model):
album_name
=
models
.
CharField
(
max_length
=
100
)
album_name
=
models
.
CharField
(
max_length
=
100
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
description
=
models
.
CharField
(
max_length
=
500
)
description
=
models
.
CharField
(
max_length
=
500
)
release_date
=
models
.
CharField
(
max_length
=
10
)
#formatted like MM/DD/YYYY
release_date
=
models
.
DateField
()
label
=
models
.
CharField
(
max_length
=
100
)
label
=
models
.
CharField
(
max_length
=
100
)
song_count
=
models
.
IntegerField
()
song_count
=
models
.
IntegerField
()
...
...
joei_yucoco_music/db.sqlite3
View file @
2d3a8ded
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