Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_tee jays angelos
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
Ramon Angelo Enriquez
widget_tee jays angelos
Commits
2a31a64b
Commit
2a31a64b
authored
Mar 19, 2022
by
Ramon Angelo Enriquez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt at adding Homepage Database
parent
6fafe5a8
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
36 additions
and
2 deletions
+36
-2
.gitignore
widget_tee_jays_angelos/.gitignore
+1
-0
admin.cpython-39.pyc
...ee_jays_angelos/homepage/__pycache__/admin.cpython-39.pyc
+0
-0
apps.cpython-39.pyc
...tee_jays_angelos/homepage/__pycache__/apps.cpython-39.pyc
+0
-0
models.cpython-39.pyc
...e_jays_angelos/homepage/__pycache__/models.cpython-39.pyc
+0
-0
admin.py
widget_tee_jays_angelos/homepage/admin.py
+2
-1
0001_initial.py
widget_tee_jays_angelos/homepage/migrations/0001_initial.py
+23
-0
0001_initial.cpython-39.pyc
...mepage/migrations/__pycache__/0001_initial.cpython-39.pyc
+0
-0
__init__.cpython-39.pyc
...s/homepage/migrations/__pycache__/__init__.cpython-39.pyc
+0
-0
models.py
widget_tee_jays_angelos/homepage/models.py
+9
-1
settings.cpython-39.pyc
...dget_tee_jays_angelos/__pycache__/settings.cpython-39.pyc
+0
-0
settings.py
widget_tee_jays_angelos/widget_tee_jays_angelos/settings.py
+1
-0
No files found.
widget_tee_jays_angelos/.gitignore
0 → 100644
View file @
2a31a64b
/__pycache__/
widget_tee_jays_angelos/homepage/__pycache__/admin.cpython-39.pyc
0 → 100644
View file @
2a31a64b
File added
widget_tee_jays_angelos/homepage/__pycache__/apps.cpython-39.pyc
0 → 100644
View file @
2a31a64b
File added
widget_tee_jays_angelos/homepage/__pycache__/models.cpython-39.pyc
0 → 100644
View file @
2a31a64b
File added
widget_tee_jays_angelos/homepage/admin.py
View file @
2a31a64b
from
django.contrib
import
admin
from
django.contrib
import
admin
from
.models
import
WidgetUser
# Register your models here.
# Register your models here.
admin
.
site
.
register
(
WidgetUser
)
widget_tee_jays_angelos/homepage/migrations/0001_initial.py
0 → 100644
View file @
2a31a64b
# Generated by Django 4.0.3 on 2022-03-19 09:06
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
=
50
)),
(
'middle_name'
,
models
.
CharField
(
max_length
=
50
)),
(
'last_name'
,
models
.
CharField
(
max_length
=
50
)),
],
),
]
widget_tee_jays_angelos/homepage/migrations/__pycache__/0001_initial.cpython-39.pyc
0 → 100644
View file @
2a31a64b
File added
widget_tee_jays_angelos/homepage/migrations/__pycache__/__init__.cpython-39.pyc
0 → 100644
View file @
2a31a64b
File added
widget_tee_jays_angelos/homepage/models.py
View file @
2a31a64b
from
django.db
import
models
from
django.db
import
models
# Create your models here.
# Create your models here.
class
WidgetUser
(
models
.
Model
):
first_name
=
models
.
CharField
(
max_length
=
50
)
middle_name
=
models
.
CharField
(
max_length
=
50
)
last_name
=
models
.
CharField
(
max_length
=
50
)
def
__str__
(
self
):
return
self
.
first_name
+
" "
+
self
.
last_name
widget_tee_jays_angelos/widget_tee_jays_angelos/__pycache__/settings.cpython-39.pyc
View file @
2a31a64b
No preview for this file type
widget_tee_jays_angelos/widget_tee_jays_angelos/settings.py
View file @
2a31a64b
...
@@ -35,6 +35,7 @@ ALLOWED_HOSTS = []
...
@@ -35,6 +35,7 @@ ALLOWED_HOSTS = []
# Application definition
# Application definition
INSTALLED_APPS
=
[
INSTALLED_APPS
=
[
'homepage.apps.HomepageConfig'
,
'assignments.apps.AssignmentsConfig'
,
'assignments.apps.AssignmentsConfig'
,
'django.contrib.admin'
,
'django.contrib.admin'
,
'django.contrib.auth'
,
'django.contrib.auth'
,
...
...
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