Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_django unchained
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
1
Merge Requests
1
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
Jose Emmanuel B. Laurel
widget_django unchained
Commits
da95ea54
Commit
da95ea54
authored
Mar 30, 2022
by
Jose Emmanuel B. Laurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added information to Departments model in homepage.models associated to respective WidgetUsers
parent
53ac8367
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
db.sqlite3
widget_django_unchained/db.sqlite3
+0
-0
0002_auto_20220330_1805.py
..._unchained/homepage/migrations/0002_auto_20220330_1805.py
+48
-0
0002_auto_20220330_1805.cpython-39.pyc
...ations/__pycache__/0002_auto_20220330_1805.cpython-39.pyc
+0
-0
No files found.
widget_django_unchained/db.sqlite3
View file @
da95ea54
No preview for this file type
widget_django_unchained/homepage/migrations/0002_auto_20220330_1805.py
0 → 100644
View file @
da95ea54
# Generated by Django 3.2.12 on 2022-03-30 15:05
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'widgetuser'
,
name
=
'email'
,
field
=
models
.
CharField
(
default
=
'someemail@gmail.com'
,
max_length
=
50
),
),
migrations
.
AddField
(
model_name
=
'widgetuser'
,
name
=
'id_name'
,
field
=
models
.
CharField
(
default
=
'1234567'
,
max_length
=
7
),
),
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'first_name'
,
field
=
models
.
CharField
(
default
=
'first_name'
,
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'last_name'
,
field
=
models
.
CharField
(
default
=
'last_name'
,
max_length
=
50
),
),
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'middle_name'
,
field
=
models
.
CharField
(
default
=
'middle_name'
,
max_length
=
50
),
),
migrations
.
CreateModel
(
name
=
'Department'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'dept_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'home_unit'
,
models
.
CharField
(
max_length
=
50
)),
(
'widgetuser'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'homepage.widgetuser'
)),
],
),
]
widget_django_unchained/homepage/migrations/__pycache__/0002_auto_20220330_1805.cpython-39.pyc
0 → 100644
View file @
da95ea54
File added
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