Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jaysonlim_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
Jayson Lim
jaysonlim_music
Commits
aa70eaee
Commit
aa70eaee
authored
Feb 13, 2023
by
Jayson Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed to the appropriate fields in the Artist and Song classes
parent
afc3a87f
Pipeline
#2734
failed with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
views.py
envLAB01/jaysonlim_music/About/views.py
+1
-5
models.py
envLAB01/jaysonlim_music/Homepage/models.py
+2
-2
No files found.
envLAB01/jaysonlim_music/About/views.py
View file @
aa70eaee
...
...
@@ -3,8 +3,4 @@ from django.shortcuts import render
from
django.http
import
HttpResponse
def
index
(
request
):
return
HttpResponse
(
"I'm Jayson Lim, a 2nd year BS Computer Science student. My favorite music genres are pop, hip hop, and rock"
)
# Create your views here.
return
HttpResponse
(
"I'm Jayson Lim, a 2nd year BS Computer Science student. My favorite music genres are pop, hip hop, and rock."
)
\ No newline at end of file
envLAB01/jaysonlim_music/Homepage/models.py
View file @
aa70eaee
...
...
@@ -2,7 +2,7 @@ from django.db import models
class
Artist
(
models
.
Model
):
artist_name
=
models
.
CharField
(
max_length
=
255
)
monthly_listeners
=
models
.
CharField
(
max_length
=
255
)
monthly_listeners
=
models
.
IntegerField
(
)
class
Album
(
models
.
Model
):
album_name
=
models
.
CharField
(
max_length
=
255
)
...
...
@@ -14,6 +14,6 @@ class Song(models.Model):
song_title
=
models
.
CharField
(
max_length
=
255
)
artist
=
models
.
CharField
(
max_length
=
255
)
album
=
models
.
CharField
(
max_length
=
255
)
song_length
=
models
.
CharField
(
max_length
=
255
)
song_length
=
models
.
IntegerField
(
)
# Create your models here.
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