Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_gitgud
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
Neal Luigi D. Rodriguez
midterm_gitgud
Commits
d994baee
Commit
d994baee
authored
Mar 02, 2023
by
Gareth Xerxes Yap Castillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finalized the app's urls.py, models.py, and admin.py
parent
c78436d8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
models.cpython-39.pyc
widget_gitgud/Dashboard/__pycache__/models.cpython-39.pyc
+0
-0
views.cpython-39.pyc
widget_gitgud/Dashboard/__pycache__/views.cpython-39.pyc
+0
-0
views.py
widget_gitgud/Dashboard/views.py
+9
-1
urls.cpython-39.pyc
widget_gitgud/widget_gitgud/__pycache__/urls.cpython-39.pyc
+0
-0
No files found.
widget_gitgud/Dashboard/__pycache__/models.cpython-39.pyc
View file @
d994baee
No preview for this file type
widget_gitgud/Dashboard/__pycache__/views.cpython-39.pyc
View file @
d994baee
No preview for this file type
widget_gitgud/Dashboard/views.py
View file @
d994baee
from
django.shortcuts
import
HttpResponse
from
django.shortcuts
import
HttpResponse
from
.models
import
Department
,
WidgetUser
def
all_departments
(
request
):
department_list
=
Department
.
objects
.
all
()
def
all_widget_users
(
request
):
widget_users_list
=
WidgetUsers
.
objects
.
all
()
def
index
(
request
):
def
index
(
request
):
return
HttpResponse
(
"placeholder"
)
return
HttpResponse
(
"Welcome to Widget!<br> <br>"
\ No newline at end of file
"WIDGET USERS:<br>"
)
widget_gitgud/widget_gitgud/__pycache__/urls.cpython-39.pyc
View file @
d994baee
No preview for this file type
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