Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_TypeWriterMonkeyCSCIMoment
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
Jose Leonardo J. Sacamos III
widget_TypeWriterMonkeyCSCIMoment
Commits
0837bd1e
Commit
0837bd1e
authored
Mar 23, 2022
by
Chino Tesoro
Browse files
Options
Browse Files
Download
Plain Diff
added forum updates and fixed pycache i guess
parents
3a589e4c
b8107f5d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
1 deletion
+39
-1
admin.py
widget_TypeWriterMonkeyCSCIMoment/homepage/admin.py
+8
-0
0001_initial.py
...riterMonkeyCSCIMoment/homepage/migrations/0001_initial.py
+23
-0
0001_initial.cpython-310.pyc
...epage/migrations/__pycache__/0001_initial.cpython-310.pyc
+0
-0
models.py
widget_TypeWriterMonkeyCSCIMoment/homepage/models.py
+7
-0
settings.py
...yCSCIMoment/widget_TypeWriterMonkeyCSCIMoment/settings.py
+1
-1
No files found.
widget_TypeWriterMonkeyCSCIMoment/homepage/admin.py
View file @
0837bd1e
from
django.contrib
import
admin
# Register your models here.
from
.models
import
WidgetUser
class
WidgetUserAdmin
(
admin
.
ModelAdmin
):
model
=
WidgetUser
admin
.
site
.
register
(
WidgetUser
)
\ No newline at end of file
widget_TypeWriterMonkeyCSCIMoment/homepage/migrations/0001_initial.py
0 → 100644
View file @
0837bd1e
# Generated by Django 4.0.3 on 2022-03-23 06:44
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
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
=
15
)),
(
'middle_name'
,
models
.
CharField
(
max_length
=
15
)),
(
'last_name'
,
models
.
CharField
(
max_length
=
15
)),
],
),
]
widget_TypeWriterMonkeyCSCIMoment/homepage/migrations/__pycache__/0001_initial.cpython-310.pyc
0 → 100644
View file @
0837bd1e
File added
widget_TypeWriterMonkeyCSCIMoment/homepage/models.py
View file @
0837bd1e
from
django.db
import
models
# Create your models here.
class
WidgetUser
(
models
.
Model
):
first_name
=
models
.
CharField
(
max_length
=
15
)
middle_name
=
models
.
CharField
(
max_length
=
15
)
last_name
=
models
.
CharField
(
max_length
=
15
)
def
__str__
(
self
):
return
'{} {}'
.
format
(
self
.
first_name
,
self
.
last_name
)
\ No newline at end of file
widget_TypeWriterMonkeyCSCIMoment/widget_TypeWriterMonkeyCSCIMoment/settings.py
View file @
0837bd1e
...
...
@@ -42,7 +42,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'homepage'
,
'homepage
.apps.HomepageConfig
'
,
'assignments'
,
'forum'
,
'announcements'
,
...
...
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