Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_father when can i be on my own i have the hello world to see
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
father when can i be on my own i have the hello world to see
widget_father when can i be on my own i have the hello world to see
Commits
dde658f8
Commit
dde658f8
authored
Apr 03, 2022
by
nekopilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrated forum changes
parent
89ddc316
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
0002_post_author_reply.py
forum/migrations/0002_post_author_reply.py
+29
-0
0003_alter_widgetuser_email_alter_widgetuser_id_num.py
...ns/0003_alter_widgetuser_email_alter_widgetuser_id_num.py
+23
-0
No files found.
forum/migrations/0002_post_author_reply.py
0 → 100644
View file @
dde658f8
# Generated by Django 4.0.3 on 2022-04-03 12:49
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0003_alter_widgetuser_email_alter_widgetuser_id_num'
),
(
'forum'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'post'
,
name
=
'author'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'homepage.widgetuser'
),
),
migrations
.
CreateModel
(
name
=
'Reply'
,
fields
=
[
(
'id'
,
models
.
BigAutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'reply_body'
,
models
.
TextField
()),
(
'pub_date'
,
models
.
DateField
(
auto_now_add
=
True
)),
(
'author'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'homepage.widgetuser'
)),
],
),
]
homepage/migrations/0003_alter_widgetuser_email_alter_widgetuser_id_num.py
0 → 100644
View file @
dde658f8
# Generated by Django 4.0.3 on 2022-04-03 12:49
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0002_department_widgetuser_email_widgetuser_id_num_and_more'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'email'
,
field
=
models
.
EmailField
(
default
=
'john.appleseed@gmail.com'
,
max_length
=
256
),
),
migrations
.
AlterField
(
model_name
=
'widgetuser'
,
name
=
'id_num'
,
field
=
models
.
CharField
(
default
=
'123456'
,
max_length
=
7
),
),
]
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