Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Neptune_Sy_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
Star Neptune R. Sy
Neptune_Sy_music
Commits
259e7da7
Commit
259e7da7
authored
Feb 23, 2023
by
Star Neptune R. Sy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a mistake where song duration is represented by a time field
parent
d55d5c20
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
36 deletions
+26
-36
0002_auto_20230223_2255.py
Neptune_Sy_music/about/migrations/0002_auto_20230223_2255.py
+3
-3
0003_alter_album_release_date.py
...y_music/about/migrations/0003_alter_album_release_date.py
+3
-8
0004_alter_album_release_date.py
...y_music/about/migrations/0004_alter_album_release_date.py
+19
-0
0005_auto_20230223_2226.py
Neptune_Sy_music/about/migrations/0005_auto_20230223_2226.py
+0
-24
models.py
Neptune_Sy_music/about/models.py
+1
-1
No files found.
Neptune_Sy_music/about/migrations/0002_auto_20230223_2
103
.py
→
Neptune_Sy_music/about/migrations/0002_auto_20230223_2
255
.py
View file @
259e7da7
# Generated by Django 3.2 on 2023-02-23 1
3:03
# Generated by Django 3.2 on 2023-02-23 1
4:55
import
datetime
from
django.db
import
migrations
,
models
...
...
@@ -18,7 +18,7 @@ class Migration(migrations.Migration):
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'album_name'
,
models
.
CharField
(
blank
=
True
,
max_length
=
50
,
unique
=
True
)),
(
'description'
,
models
.
CharField
(
blank
=
True
,
max_length
=
500
,
unique
=
True
)),
(
'release_date'
,
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
2
1
,
3
,
39
,
527553
))),
(
'release_date'
,
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
2
2
,
55
,
7
,
657012
))),
(
'label'
,
models
.
CharField
(
blank
=
True
,
max_length
=
50
,
unique
=
True
)),
(
'song_count'
,
models
.
IntegerField
(
blank
=
True
)),
],
...
...
@@ -38,7 +38,7 @@ class Migration(migrations.Migration):
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'song_title'
,
models
.
CharField
(
blank
=
True
,
max_length
=
50
)),
(
'song_length'
,
models
.
TimeField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
21
,
3
,
39
,
527552
)
)),
(
'song_length'
,
models
.
DurationField
(
default
=
0
)),
(
'music_video'
,
models
.
BooleanField
(
default
=
False
)),
(
'lyrics'
,
models
.
TextField
(
blank
=
True
)),
(
'album'
,
models
.
ForeignKey
(
default
=
'justToMakeItWorkToo'
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'about.album'
)),
...
...
Neptune_Sy_music/about/migrations/0003_a
uto_20230223_2126
.py
→
Neptune_Sy_music/about/migrations/0003_a
lter_album_release_date
.py
View file @
259e7da7
# Generated by Django 3.2 on 2023-02-23 1
3:2
6
# Generated by Django 3.2 on 2023-02-23 1
4:5
6
import
datetime
from
django.db
import
migrations
,
models
...
...
@@ -7,18 +7,13 @@ from django.db import migrations, models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'about'
,
'0002_auto_20230223_2
103
'
),
(
'about'
,
'0002_auto_20230223_2
255
'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
21
,
26
,
3
,
151069
)),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'song_length'
,
field
=
models
.
TimeField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
21
,
26
,
3
,
152069
)),
field
=
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
22
,
56
,
23
,
291785
)),
),
]
Neptune_Sy_music/about/migrations/0004_a
uto_20230223_2128
.py
→
Neptune_Sy_music/about/migrations/0004_a
lter_album_release_date
.py
View file @
259e7da7
# Generated by Django 3.2 on 2023-02-23 1
3:2
8
# Generated by Django 3.2 on 2023-02-23 1
5:1
8
import
datetime
from
django.db
import
migrations
,
models
...
...
@@ -7,18 +7,13 @@ from django.db import migrations, models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'about'
,
'0003_a
uto_20230223_2126
'
),
(
'about'
,
'0003_a
lter_album_release_date
'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
21
,
28
,
11
,
339665
)),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'song_length'
,
field
=
models
.
TimeField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
21
,
28
,
11
,
340672
)),
field
=
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
23
,
18
,
18
,
287630
)),
),
]
Neptune_Sy_music/about/migrations/0005_auto_20230223_2226.py
deleted
100644 → 0
View file @
d55d5c20
# Generated by Django 3.2 on 2023-02-23 14:26
import
datetime
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'about'
,
'0004_auto_20230223_2128'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
22
,
26
,
28
,
608294
)),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'song_length'
,
field
=
models
.
TimeField
(
default
=
datetime
.
datetime
(
2023
,
2
,
23
,
22
,
26
,
28
,
609292
)),
),
]
Neptune_Sy_music/about/models.py
View file @
259e7da7
...
...
@@ -41,7 +41,7 @@ class Song(models.Model):
on_delete
=
models
.
CASCADE
,
default
=
"justToMakeItWorkToo"
,
)
song_length
=
models
.
TimeField
(
default
=
datetime
.
datetime
.
now
()
)
song_length
=
models
.
DurationField
(
default
=
0
)
music_video
=
models
.
BooleanField
(
default
=
False
)
lyrics
=
models
.
TextField
(
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