Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
ianaragoza_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
Ian Rafael T. Aragoza
ianaragoza_music
Commits
0f0a5ce2
Commit
0f0a5ce2
authored
Feb 20, 2023
by
Ian Rafael T. Aragoza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Altered field description on album model.
parent
e0217a07
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
2 deletions
+25
-2
db.sqlite3
ianaragoza_music/db.sqlite3
+0
-0
models.cpython-311.pyc
ianaragoza_music/homepage/__pycache__/models.cpython-311.pyc
+0
-0
0005_alter_album_description_alter_album_release_date.py
.../0005_alter_album_description_alter_album_release_date.py
+23
-0
0005_alter_album_description_alter_album_release_date.cpython-311.pyc
...lbum_description_alter_album_release_date.cpython-311.pyc
+0
-0
models.py
ianaragoza_music/homepage/models.py
+2
-2
No files found.
ianaragoza_music/db.sqlite3
View file @
0f0a5ce2
No preview for this file type
ianaragoza_music/homepage/__pycache__/models.cpython-311.pyc
View file @
0f0a5ce2
No preview for this file type
ianaragoza_music/homepage/migrations/0005_alter_album_description_alter_album_release_date.py
0 → 100644
View file @
0f0a5ce2
# Generated by Django 4.1.6 on 2023-02-20 13:11
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0004_album_label_album_song_count_artist_bio_and_more'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'description'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(
blank
=
True
,
null
=
True
),
),
]
ianaragoza_music/homepage/migrations/__pycache__/0005_alter_album_description_alter_album_release_date.cpython-311.pyc
0 → 100644
View file @
0f0a5ce2
File added
ianaragoza_music/homepage/models.py
View file @
0f0a5ce2
...
@@ -20,8 +20,8 @@ class Artist(models.Model):
...
@@ -20,8 +20,8 @@ class Artist(models.Model):
class
Album
(
models
.
Model
):
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
,
related_name
=
'albums'
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
,
related_name
=
'albums'
)
description
=
models
.
CharField
(
max_length
=
255
)
description
=
models
.
TextField
(
)
release_date
=
models
.
DateField
()
release_date
=
models
.
DateField
(
blank
=
True
,
null
=
True
)
song_count
=
models
.
IntegerField
(
blank
=
True
,
null
=
True
)
song_count
=
models
.
IntegerField
(
blank
=
True
,
null
=
True
)
label
=
models
.
CharField
(
max_length
=
100
,
blank
=
True
)
label
=
models
.
CharField
(
max_length
=
100
,
blank
=
True
)
...
...
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