Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Blizzard Blast
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
Martina Therese R. Reyes
Blizzard Blast
Commits
61166a2e
Commit
61166a2e
authored
Dec 10, 2021
by
Martina Therese R. Reyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a receipts view. Updated urls and views python files accordingly.
parent
05cd8b8a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
urls.py
main/urls.py
+1
-0
views.py
main/views.py
+2
-3
No files found.
main/urls.py
View file @
61166a2e
...
@@ -7,4 +7,5 @@ urlpatterns = [
...
@@ -7,4 +7,5 @@ urlpatterns = [
path
(
'inventory'
,
inventory
,
name
=
'inventory'
),
path
(
'inventory'
,
inventory
,
name
=
'inventory'
),
path
(
'schedule'
,
schedule
,
name
=
'schedule'
),
path
(
'schedule'
,
schedule
,
name
=
'schedule'
),
path
(
'report'
,
report
,
name
=
'report'
),
path
(
'report'
,
report
,
name
=
'report'
),
path
(
'receipt'
,
receipt
,
name
=
'receipt'
),
]
]
main/views.py
View file @
61166a2e
...
@@ -5,18 +5,17 @@ from django.http import HttpResponse
...
@@ -5,18 +5,17 @@ from django.http import HttpResponse
def
homepage
(
request
):
def
homepage
(
request
):
return
render
(
request
,
"blizzardblast/templates/index.html"
)
return
render
(
request
,
"blizzardblast/templates/index.html"
)
def
order
(
request
):
def
order
(
request
):
return
render
(
request
,
"blizzardblast/templates/order.html"
)
return
render
(
request
,
"blizzardblast/templates/order.html"
)
def
receipt
(
request
):
return
render
(
request
,
"blizzardblast/templates/receipt.html"
)
def
inventory
(
request
):
def
inventory
(
request
):
return
render
(
request
,
"blizzardblast/templates/inventory.html"
)
return
render
(
request
,
"blizzardblast/templates/inventory.html"
)
def
schedule
(
request
):
def
schedule
(
request
):
return
render
(
request
,
"blizzardblast/templates/schedule.html"
)
return
render
(
request
,
"blizzardblast/templates/schedule.html"
)
def
report
(
request
):
def
report
(
request
):
return
render
(
request
,
"blizzardblast/templates/report.html"
)
return
render
(
request
,
"blizzardblast/templates/report.html"
)
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