Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_aguandhischipmunks
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
Adrian Lance Damalerio
midterm_aguandhischipmunks
Commits
9e6101ee
Commit
9e6101ee
authored
Mar 06, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrations for assignments is fixed
parent
22e4b5fe
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
0 deletions
+72
-0
.gitignore
widget_aguandhischipmunks/.gitignore
+2
-0
0001_initial.py
...aguandhischipmunks/assignments/migrations/0001_initial.py
+35
-0
__init__.py
widget_aguandhischipmunks/assignments/migrations/__init__.py
+0
-0
__init__.cpython-310.pyc
...signments/migrations/__pycache__/__init__.cpython-310.pyc
+0
-0
0002_alter_event_activity_alter_event_course_and_more.py
.../0002_alter_event_activity_alter_event_course_and_more.py
+35
-0
db.sqlite3
widget_aguandhischipmunks/db.sqlite3
+0
-0
No files found.
widget_aguandhischipmunks/.gitignore
View file @
9e6101ee
.env
.env
__pycache__
*.pyc
\ No newline at end of file
widget_aguandhischipmunks/assignments/migrations/0001_initial.py
0 → 100644
View file @
9e6101ee
# Generated by Django 4.1.7 on 2023-03-06 10:10
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Course'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'code'
,
models
.
CharField
(
max_length
=
10
)),
(
'title'
,
models
.
CharField
(
max_length
=
100
)),
(
'section'
,
models
.
CharField
(
max_length
=
3
)),
],
),
migrations
.
CreateModel
(
name
=
'Assignment'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
100
)),
(
'description'
,
models
.
CharField
(
max_length
=
1000
)),
(
'perfect_score'
,
models
.
IntegerField
(
default
=
0
)),
(
'passing_score'
,
models
.
IntegerField
(
default
=
0
)),
(
'course'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'assignments.course'
)),
],
),
]
widget_aguandhischipmunks/assignments/migrations/__init__.py
0 → 100644
View file @
9e6101ee
widget_aguandhischipmunks/assignments/migrations/__pycache__/__init__.cpython-310.pyc
View file @
9e6101ee
No preview for this file type
widget_aguandhischipmunks/calendar_app/migrations/0002_alter_event_activity_alter_event_course_and_more.py
0 → 100644
View file @
9e6101ee
# Generated by Django 4.1.7 on 2023-03-06 10:07
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'assignments'
,
'__first__'
),
(
'calendar_app'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'event'
,
name
=
'activity'
,
field
=
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'Activity: '
),
),
migrations
.
AlterField
(
model_name
=
'event'
,
name
=
'course'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'assignments.course'
),
),
migrations
.
AlterField
(
model_name
=
'event'
,
name
=
'estimated_hours'
,
field
=
models
.
FloatField
(
max_length
=
50
,
verbose_name
=
'Estimated Hours: '
),
),
migrations
.
AlterField
(
model_name
=
'event'
,
name
=
'target_datetime'
,
field
=
models
.
DateTimeField
(
max_length
=
50
,
verbose_name
=
'Date and Time: '
),
),
]
widget_aguandhischipmunks/db.sqlite3
View file @
9e6101ee
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