Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_robo_mommy
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Raul Jarod Conanan
midterm_robo_mommy
Commits
88b06797
Commit
88b06797
authored
May 13, 2023
by
RJC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remigrate
parent
58c8b514
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
53 additions
and
251 deletions
+53
-251
midterm_robo_mommy.iml
.idea/midterm_robo_mommy.iml
+4
-0
0001_initial.py
widget_robo_mommy/Dashboard/migrations/0001_initial.py
+12
-1
0002_widgetuser.py
widget_robo_mommy/Dashboard/migrations/0002_widgetuser.py
+0
-24
0003_alter_widgetuser_department.py
.../Dashboard/migrations/0003_alter_widgetuser_department.py
+0
-19
0001_initial.py
widget_robo_mommy/announcements/migrations/0001_initial.py
+3
-3
0002_alter_reaction_announcement.py
...ouncements/migrations/0002_alter_reaction_announcement.py
+0
-19
0001_initial.py
widget_robo_mommy/assignments/migrations/0001_initial.py
+12
-11
0002_alter_assignment_course.py
...my/assignments/migrations/0002_alter_assignment_course.py
+0
-19
db.sqlite3
widget_robo_mommy/db.sqlite3
+0
-0
0001_initial.py
widget_robo_mommy/forum/migrations/0001_initial.py
+5
-25
0002_auto_20230304_2337.py
...et_robo_mommy/forum/migrations/0002_auto_20230304_2337.py
+0
-29
0003_rename_forumpost_reply_forum_post.py
...orum/migrations/0003_rename_forumpost_reply_forum_post.py
+0
-18
0001_initial.py
widget_robo_mommy/widget_Calendar/migrations/0001_initial.py
+17
-5
0002_event_location_delete_indexcard_event_location.py
...ns/0002_event_location_delete_indexcard_event_location.py
+0
-40
0003_alter_event_course.py
...mmy/widget_Calendar/migrations/0003_alter_event_course.py
+0
-20
0004_alter_event_target_datetime.py
...t_Calendar/migrations/0004_alter_event_target_datetime.py
+0
-18
No files found.
.idea/midterm_robo_mommy.iml
View file @
88b06797
<?xml version="1.0" encoding="UTF-8"?>
<module
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
<component
name=
"PyDocumentationSettings"
>
<option
name=
"format"
value=
"PLAIN"
/>
<option
name=
"myDocStringFormat"
value=
"Plain"
/>
...
...
widget_robo_mommy/Dashboard/migrations/0001_initial.py
View file @
88b06797
# Generated by Django
4.1.6 on 2023-03-03 15:37
# Generated by Django
3.2 on 2023-05-13 20:25
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
...
...
@@ -19,4 +20,14 @@ class Migration(migrations.Migration):
(
'home_unit'
,
models
.
CharField
(
max_length
=
100
)),
],
),
migrations
.
CreateModel
(
name
=
'WidgetUser'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'first_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'middle_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'last_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'department'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'department'
,
to
=
'Dashboard.department'
)),
],
),
]
widget_robo_mommy/Dashboard/migrations/0002_widgetuser.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 4.1.6 on 2023-03-04 16:34
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'Dashboard'
,
'0001_initial'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'WidgetUser'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'first_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'middle_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'last_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'department'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'Dashboard.department'
)),
],
),
]
widget_robo_mommy/Dashboard/migrations/0003_alter_widgetuser_department.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 3.2 on 2023-05-11 11:03
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'Dashboard'
,
'0002_widgetuser'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'department'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'department'
,
to
=
'Dashboard.department'
),
),
]
widget_robo_mommy/announcements/migrations/0001_initial.py
View file @
88b06797
# Generated by Django
4.1.7 on 2023-03-05 14:21
# Generated by Django
3.2 on 2023-05-13 20:25
from
django.db
import
migrations
,
models
import
django.db.models.deletion
...
...
@@ -9,7 +9,7 @@ class Migration(migrations.Migration):
initial
=
True
dependencies
=
[
(
'Dashboard'
,
'000
2_widgetuser
'
),
(
'Dashboard'
,
'000
1_initial
'
),
]
operations
=
[
...
...
@@ -29,7 +29,7 @@ class Migration(migrations.Migration):
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
blank
=
True
,
default
=
'Like'
,
max_length
=
5
,
null
=
True
)),
(
'tally'
,
models
.
IntegerField
(
blank
=
True
,
default
=
0
,
null
=
True
)),
(
'announcement'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'announcements.announcement'
)),
(
'announcement'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'react'
,
to
=
'announcements.announcement'
)),
],
),
]
widget_robo_mommy/announcements/migrations/0002_alter_reaction_announcement.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 3.2 on 2023-05-13 14:43
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'announcements'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'reaction'
,
name
=
'announcement'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'react'
,
to
=
'announcements.announcement'
),
),
]
widget_robo_mommy/assignments/migrations/0001_initial.py
View file @
88b06797
# Generated by Django
4.1.7 on 2023-03-04 17:11
# Generated by Django
3.2 on 2023-05-13 20:25
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
...
...
@@ -12,23 +13,23 @@ class Migration(migrations.Migration):
operations
=
[
migrations
.
CreateModel
(
name
=
'
Assignment
'
,
name
=
'
Course
'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'description'
,
models
.
TextField
(
blank
=
True
,
null
=
True
)),
(
'course'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'perfect_score'
,
models
.
IntegerField
(
blank
=
True
,
null
=
True
)),
(
'passing_score'
,
models
.
IntegerField
(
blank
=
True
,
null
=
True
)),
(
'code'
,
models
.
CharField
(
blank
=
True
,
max_length
=
10
,
null
=
True
)),
(
'title'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'section'
,
models
.
CharField
(
blank
=
True
,
max_length
=
3
,
null
=
True
)),
],
),
migrations
.
CreateModel
(
name
=
'
Course
'
,
name
=
'
Assignment
'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'code'
,
models
.
CharField
(
blank
=
True
,
max_length
=
10
,
null
=
True
)),
(
'title'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'section'
,
models
.
CharField
(
blank
=
True
,
max_length
=
3
,
null
=
True
)),
(
'name'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'description'
,
models
.
TextField
(
blank
=
True
,
null
=
True
)),
(
'perfect_score'
,
models
.
IntegerField
(
blank
=
True
,
null
=
True
)),
(
'passing_score'
,
models
.
IntegerField
(
blank
=
True
,
null
=
True
)),
(
'course'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'assignments.course'
)),
],
),
]
widget_robo_mommy/assignments/migrations/0002_alter_assignment_course.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 4.1.7 on 2023-03-04 17:27
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'assignments'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'assignment'
,
name
=
'course'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'assignments.course'
),
),
]
widget_robo_mommy/db.sqlite3
View file @
88b06797
No preview for this file type
widget_robo_mommy/forum/migrations/0001_initial.py
View file @
88b06797
# Generated by Django 3.2 on 2023-0
3-04 13:3
5
# Generated by Django 3.2 on 2023-0
5-13 20:2
5
import
django.contrib.auth.models
from
django.db
import
migrations
,
models
import
django.db.models.deletion
...
...
@@ -10,7 +9,7 @@ class Migration(migrations.Migration):
initial
=
True
dependencies
=
[
(
'
auth'
,
'0012_alter_user_first_name_max_length
'
),
(
'
Dashboard'
,
'0001_initial
'
),
]
operations
=
[
...
...
@@ -21,21 +20,7 @@ class Migration(migrations.Migration):
(
'title'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'body'
,
models
.
TextField
(
blank
=
True
,
null
=
True
)),
(
'pub_datetime'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
],
),
migrations
.
CreateModel
(
name
=
'WidgetUser'
,
fields
=
[
(
'user_ptr'
,
models
.
OneToOneField
(
auto_created
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
parent_link
=
True
,
primary_key
=
True
,
serialize
=
False
,
to
=
'auth.user'
)),
],
options
=
{
'verbose_name'
:
'user'
,
'verbose_name_plural'
:
'users'
,
'abstract'
:
False
,
},
bases
=
(
'auth.user'
,),
managers
=
[
(
'objects'
,
django
.
contrib
.
auth
.
models
.
UserManager
()),
(
'author'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'forumpost'
,
to
=
'Dashboard.widgetuser'
)),
],
),
migrations
.
CreateModel
(
...
...
@@ -44,13 +29,8 @@ class Migration(migrations.Migration):
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'body'
,
models
.
TextField
(
blank
=
True
,
null
=
True
)),
(
'pub_datetime'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
(
'author'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'
forum
.widgetuser'
)),
(
'forumpost'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'reply'
,
to
=
'forum.forumpost'
)),
(
'author'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'
Dashboard
.widgetuser'
)),
(
'forum
_
post'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'reply'
,
to
=
'forum.forumpost'
)),
],
),
migrations
.
AddField
(
model_name
=
'forumpost'
,
name
=
'author'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'forumpost'
,
to
=
'forum.widgetuser'
),
),
]
widget_robo_mommy/forum/migrations/0002_auto_20230304_2337.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 3.2 on 2023-03-04 15:37
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'Dashboard'
,
'0002_widgetuser'
),
(
'admin'
,
'0003_logentry_add_action_flag_choices'
),
(
'forum'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'forumpost'
,
name
=
'author'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'forumpost'
,
to
=
'Dashboard.widgetuser'
),
),
migrations
.
AlterField
(
model_name
=
'reply'
,
name
=
'author'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'Dashboard.widgetuser'
),
),
migrations
.
DeleteModel
(
name
=
'WidgetUser'
,
),
]
widget_robo_mommy/forum/migrations/0003_rename_forumpost_reply_forum_post.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 3.2 on 2023-03-06 09:21
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'forum'
,
'0002_auto_20230304_2337'
),
]
operations
=
[
migrations
.
RenameField
(
model_name
=
'reply'
,
old_name
=
'forumpost'
,
new_name
=
'forum_post'
,
),
]
widget_robo_mommy/widget_Calendar/migrations/0001_initial.py
View file @
88b06797
# Generated by Django
4.1.7 on 2023-03-05 14:22
# Generated by Django
3.2 on 2023-05-13 20:25
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
...
...
@@ -8,16 +9,27 @@ class Migration(migrations.Migration):
initial
=
True
dependencies
=
[
(
'assignments'
,
'0001_initial'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'
IndexCard
'
,
name
=
'
Location
'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'name'
,
models
.
CharField
(
max_length
=
100
)),
(
'section'
,
models
.
CharField
(
max_length
=
5
)),
(
'age'
,
models
.
IntegerField
()),
(
'mode'
,
models
.
CharField
(
choices
=
[(
'onsite'
,
'Onsite'
),
(
'online'
,
'Online'
),
(
'hybrid'
,
'Hybrid'
)],
max_length
=
6
)),
(
'venue'
,
models
.
CharField
(
max_length
=
100
)),
],
),
migrations
.
CreateModel
(
name
=
'Event'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'activity'
,
models
.
CharField
(
max_length
=
100
)),
(
'target_datetime'
,
models
.
DateTimeField
()),
(
'estimated_hours'
,
models
.
FloatField
()),
(
'course'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'event'
,
to
=
'assignments.course'
)),
(
'location'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'widget_Calendar.location'
)),
],
),
]
widget_robo_mommy/widget_Calendar/migrations/0002_event_location_delete_indexcard_event_location.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 4.1.7 on 2023-03-05 16:24
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'widget_Calendar'
,
'0001_initial'
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Event'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'target_datetime'
,
models
.
CharField
(
max_length
=
20
)),
(
'activity'
,
models
.
CharField
(
max_length
=
100
)),
(
'estimated_hours'
,
models
.
FloatField
()),
(
'course'
,
models
.
CharField
(
max_length
=
20
)),
],
),
migrations
.
CreateModel
(
name
=
'Location'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'mode'
,
models
.
CharField
(
choices
=
[(
'onsite'
,
'Onsite'
),
(
'online'
,
'Online'
),
(
'hybrid'
,
'Hybrid'
)],
max_length
=
6
)),
(
'venue'
,
models
.
CharField
(
max_length
=
100
)),
],
),
migrations
.
DeleteModel
(
name
=
'IndexCard'
,
),
migrations
.
AddField
(
model_name
=
'event'
,
name
=
'location'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'widget_Calendar.location'
),
),
]
widget_robo_mommy/widget_Calendar/migrations/0003_alter_event_course.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 3.2 on 2023-03-06 08:23
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'assignments'
,
'0002_alter_assignment_course'
),
(
'widget_Calendar'
,
'0002_event_location_delete_indexcard_event_location'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'event'
,
name
=
'course'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'event'
,
to
=
'assignments.course'
),
),
]
widget_robo_mommy/widget_Calendar/migrations/0004_alter_event_target_datetime.py
deleted
100644 → 0
View file @
58c8b514
# Generated by Django 3.2 on 2023-03-06 08:37
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'widget_Calendar'
,
'0003_alter_event_course'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'event'
,
name
=
'target_datetime'
,
field
=
models
.
DateTimeField
(),
),
]
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