Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nishaespera_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
Julia Anishka
nishaespera_music
Commits
58598ab0
Commit
58598ab0
authored
Feb 20, 2023
by
Julia Anishka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
incresed max length characters for album description
parent
0a96579f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
1 deletion
+19
-1
db.sqlite3
nishaespera_music/db.sqlite3
+0
-0
models.cpython-310.pyc
...aespera_music/homepage/__pycache__/models.cpython-310.pyc
+0
-0
0004_alter_album_description.py
...music/homepage/migrations/0004_alter_album_description.py
+18
-0
0004_alter_album_description.cpython-310.pyc
.../__pycache__/0004_alter_album_description.cpython-310.pyc
+0
-0
models.py
nishaespera_music/homepage/models.py
+1
-1
No files found.
nishaespera_music/db.sqlite3
View file @
58598ab0
No preview for this file type
nishaespera_music/homepage/__pycache__/models.cpython-310.pyc
View file @
58598ab0
No preview for this file type
nishaespera_music/homepage/migrations/0004_alter_album_description.py
0 → 100644
View file @
58598ab0
# Generated by Django 3.2 on 2023-02-20 16:26
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0003_alter_artist_bio'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'description'
,
field
=
models
.
TextField
(
max_length
=
100
),
),
]
nishaespera_music/homepage/migrations/__pycache__/0004_alter_album_description.cpython-310.pyc
0 → 100644
View file @
58598ab0
File added
nishaespera_music/homepage/models.py
View file @
58598ab0
...
@@ -13,7 +13,7 @@ class Artist(models.Model):
...
@@ -13,7 +13,7 @@ class Artist(models.Model):
class
Album
(
models
.
Model
):
class
Album
(
models
.
Model
):
album_name
=
models
.
CharField
(
max_length
=
50
)
album_name
=
models
.
CharField
(
max_length
=
50
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
description
=
models
.
TextField
(
max_length
=
1
00
)
description
=
models
.
TextField
(
max_length
=
7
00
)
release_date
=
models
.
DateField
(
"date released"
)
release_date
=
models
.
DateField
(
"date released"
)
label
=
models
.
CharField
(
max_length
=
100
,
null
=
True
,
blank
=
True
)
label
=
models
.
CharField
(
max_length
=
100
,
null
=
True
,
blank
=
True
)
song_count
=
models
.
IntegerField
(
default
=
0
)
song_count
=
models
.
IntegerField
(
default
=
0
)
...
...
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