Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gabgeraldo_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
Gabriel Geraldo
gabgeraldo_music
Commits
7d65bb00
Commit
7d65bb00
authored
Feb 13, 2023
by
Gabriel Geraldo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved models from about app to homepage app
parent
b57ddade
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
82 additions
and
16 deletions
+82
-16
models.cpython-311.pyc
gabgeraldo_music/about/__pycache__/models.cpython-311.pyc
+0
-0
0002_auto_20230213_2029.py
gabgeraldo_music/about/migrations/0002_auto_20230213_2029.py
+22
-0
0002_auto_20230213_2029.cpython-311.pyc
...tions/__pycache__/0002_auto_20230213_2029.cpython-311.pyc
+0
-0
models.py
gabgeraldo_music/about/models.py
+1
-16
db.sqlite3
gabgeraldo_music/db.sqlite3
+0
-0
models.cpython-311.pyc
gabgeraldo_music/homepage/__pycache__/models.cpython-311.pyc
+0
-0
0001_initial.py
gabgeraldo_music/homepage/migrations/0001_initial.py
+42
-0
0001_initial.cpython-311.pyc
...epage/migrations/__pycache__/0001_initial.cpython-311.pyc
+0
-0
models.py
gabgeraldo_music/homepage/models.py
+17
-0
No files found.
gabgeraldo_music/about/__pycache__/models.cpython-311.pyc
View file @
7d65bb00
No preview for this file type
gabgeraldo_music/about/migrations/0002_auto_20230213_2029.py
0 → 100644
View file @
7d65bb00
# Generated by Django 3.2 on 2023-02-13 12:29
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'about'
,
'0001_initial'
),
]
operations
=
[
migrations
.
DeleteModel
(
name
=
'Album'
,
),
migrations
.
DeleteModel
(
name
=
'Artist'
,
),
migrations
.
DeleteModel
(
name
=
'Song'
,
),
]
gabgeraldo_music/about/migrations/__pycache__/0002_auto_20230213_2029.cpython-311.pyc
0 → 100644
View file @
7d65bb00
File added
gabgeraldo_music/about/models.py
View file @
7d65bb00
from
django.db
import
models
from
django.db
import
models
# Create your models here.
# Create your models here.
class
Artist
(
models
.
Model
):
\ No newline at end of file
artist_name
=
models
.
TextField
()
monthly_listeners
=
models
.
IntegerField
()
class
Album
(
models
.
Model
):
album_name
=
models
.
TextField
()
artist
=
models
.
TextField
()
description
=
models
.
TextField
()
release_date
=
models
.
DateField
()
class
Song
(
models
.
Model
):
song_title
=
models
.
TextField
()
artist
=
models
.
TextField
()
album
=
models
.
TextField
()
song_length
=
models
.
IntegerField
()
gabgeraldo_music/db.sqlite3
View file @
7d65bb00
No preview for this file type
gabgeraldo_music/homepage/__pycache__/models.cpython-311.pyc
View file @
7d65bb00
No preview for this file type
gabgeraldo_music/homepage/migrations/0001_initial.py
0 → 100644
View file @
7d65bb00
# Generated by Django 3.2 on 2023-02-13 12:29
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Album'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'album_name'
,
models
.
TextField
()),
(
'artist'
,
models
.
TextField
()),
(
'description'
,
models
.
TextField
()),
(
'release_date'
,
models
.
DateField
()),
],
),
migrations
.
CreateModel
(
name
=
'Artist'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'artist_name'
,
models
.
TextField
()),
(
'monthly_listeners'
,
models
.
IntegerField
()),
],
),
migrations
.
CreateModel
(
name
=
'Song'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'song_title'
,
models
.
TextField
()),
(
'artist'
,
models
.
TextField
()),
(
'album'
,
models
.
TextField
()),
(
'song_length'
,
models
.
IntegerField
()),
],
),
]
gabgeraldo_music/homepage/migrations/__pycache__/0001_initial.cpython-311.pyc
0 → 100644
View file @
7d65bb00
File added
gabgeraldo_music/homepage/models.py
View file @
7d65bb00
from
django.db
import
models
from
django.db
import
models
# Create your models here.
# Create your models here.
class
Artist
(
models
.
Model
):
artist_name
=
models
.
TextField
()
monthly_listeners
=
models
.
IntegerField
()
class
Album
(
models
.
Model
):
album_name
=
models
.
TextField
()
artist
=
models
.
TextField
()
description
=
models
.
TextField
()
release_date
=
models
.
DateField
()
class
Song
(
models
.
Model
):
song_title
=
models
.
TextField
()
artist
=
models
.
TextField
()
album
=
models
.
TextField
()
song_length
=
models
.
IntegerField
()
\ No newline at end of file
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