Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gabigarrero_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 G. Garrero
gabigarrero_music
Commits
7a623dae
Commit
7a623dae
authored
Feb 13, 2023
by
Gabriel G. Garrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added README.txt, migrated models.
parent
4f0916ee
Pipeline
#2731
failed with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
0 deletions
+58
-0
README.txt
README.txt
+11
-0
0001_initial.py
gabigarrero_music/Homepage/migrations/0001_initial.py
+47
-0
0001_initial.cpython-310.pyc
...epage/migrations/__pycache__/0001_initial.cpython-310.pyc
+0
-0
db.sqlite3
gabigarrero_music/db.sqlite3
+0
-0
No files found.
README.txt
0 → 100644
View file @
7a623dae
Gabriel G. Garrero
212688
BS CS
CSCI 40 - C
Lab 01: Song Library
February 13, 2023
This is to certify that I, Gabriel G. Garrero, accomplished this lab requirement for CSCI 40 on my own.
<sgd> Gabriel G. Garrero, February 13, 2023
\ No newline at end of file
gabigarrero_music/Homepage/migrations/0001_initial.py
0 → 100644
View file @
7a623dae
# Generated by Django 3.2 on 2023-02-13 15:09
from
django.db
import
migrations
,
models
import
django.db.models.deletion
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
.
CharField
(
max_length
=
100
)),
(
'description'
,
models
.
CharField
(
max_length
=
300
)),
(
'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
.
CharField
(
max_length
=
50
)),
(
'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
.
CharField
(
max_length
=
100
)),
(
'song_length'
,
models
.
IntegerField
()),
(
'album'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'Homepage.album'
)),
(
'artist'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'Homepage.artist'
)),
],
),
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'artist'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'Homepage.artist'
),
),
]
gabigarrero_music/Homepage/migrations/__pycache__/0001_initial.cpython-310.pyc
0 → 100644
View file @
7a623dae
File added
gabigarrero_music/db.sqlite3
View file @
7a623dae
No preview for this file type
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