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
89962d1c
Commit
89962d1c
authored
Feb 20, 2023
by
Julia Anishka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed bio field to textfield
parent
fa4eeded
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
1 deletion
+49
-1
db.sqlite3
nishaespera_music/db.sqlite3
+0
-0
admin.cpython-310.pyc
nishaespera_music/homepage/__pycache__/admin.cpython-310.pyc
+0
-0
models.cpython-310.pyc
...aespera_music/homepage/__pycache__/models.cpython-310.pyc
+0
-0
0002_auto_20230221_0012.py
...pera_music/homepage/migrations/0002_auto_20230221_0012.py
+48
-0
0002_auto_20230221_0012.cpython-310.pyc
...tions/__pycache__/0002_auto_20230221_0012.cpython-310.pyc
+0
-0
models.py
nishaespera_music/homepage/models.py
+1
-1
No files found.
nishaespera_music/db.sqlite3
View file @
89962d1c
No preview for this file type
nishaespera_music/homepage/__pycache__/admin.cpython-310.pyc
View file @
89962d1c
No preview for this file type
nishaespera_music/homepage/__pycache__/models.cpython-310.pyc
View file @
89962d1c
No preview for this file type
nishaespera_music/homepage/migrations/0002_auto_20230221_0012.py
0 → 100644
View file @
89962d1c
# Generated by Django 3.2 on 2023-02-20 16:12
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'label'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
100
,
null
=
True
),
),
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'song_count'
,
field
=
models
.
IntegerField
(
default
=
0
),
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'bio'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
700
,
null
=
True
),
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'birth_name'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
50
,
null
=
True
),
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'lyrics'
,
field
=
models
.
TextField
(
blank
=
True
,
max_length
=
5000
,
null
=
True
),
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'music_video'
,
field
=
models
.
BooleanField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(
verbose_name
=
'date released'
),
),
]
nishaespera_music/homepage/migrations/__pycache__/0002_auto_20230221_0012.cpython-310.pyc
0 → 100644
View file @
89962d1c
File added
nishaespera_music/homepage/models.py
View file @
89962d1c
...
@@ -5,7 +5,7 @@ class Artist(models.Model):
...
@@ -5,7 +5,7 @@ class Artist(models.Model):
artist_name
=
models
.
CharField
(
max_length
=
50
)
artist_name
=
models
.
CharField
(
max_length
=
50
)
monthly_listeners
=
models
.
IntegerField
(
default
=
0
)
monthly_listeners
=
models
.
IntegerField
(
default
=
0
)
birth_name
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
birth_name
=
models
.
CharField
(
max_length
=
50
,
null
=
True
,
blank
=
True
)
bio
=
models
.
Char
Field
(
max_length
=
700
,
null
=
True
,
blank
=
True
)
bio
=
models
.
Text
Field
(
max_length
=
700
,
null
=
True
,
blank
=
True
)
def
__str__
(
self
):
def
__str__
(
self
):
return
self
.
artist_name
return
self
.
artist_name
...
...
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