Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI 41 Project
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
Patricia Isabella Nava
CSCI 41 Project
Commits
dff11275
Commit
dff11275
authored
Nov 27, 2022
by
Stephanie Tullao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Registered Booking_Sched, Booking_AddItem, Pilot, and Flight_Attendant to admin
parent
57624a94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
admin.py
MagisAir/booking/admin.py
+6
-1
No files found.
MagisAir/booking/admin.py
View file @
dff11275
from
django.contrib
import
admin
from
.models
import
Passenger
,
Booking
,
Schedule
,
Sched_Crew
,
City
,
Crew_Member
,
Additional_Item
,
Flight
from
.models
import
Passenger
,
Booking
,
Schedule
,
Sched_Crew
,
City
,
Crew_Member
,
Additional_Item
,
Flight
,
Booking_Sched
,
Booking_AddItem
,
Pilot
,
Flight_Attendant
# Register your models here.
...
...
@@ -12,3 +12,8 @@ admin.site.register(City)
admin
.
site
.
register
(
Crew_Member
)
admin
.
site
.
register
(
Additional_Item
)
admin
.
site
.
register
(
Flight
)
admin
.
site
.
register
(
Booking_Sched
)
admin
.
site
.
register
(
Booking_AddItem
)
admin
.
site
.
register
(
Pilot
)
admin
.
site
.
register
(
Flight_Attendant
)
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