Skip to content

Commit

Permalink
Alter Event model related constants
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyansh23 committed Dec 14, 2019
1 parent 2e0e2a0 commit d06a83c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions constants/event_categories.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
SHORT_TERM_COURSE = 'stc'
SPECIAL_LECTURE = 'spl'
TALK = 'tlk'
OTHER = 'oth'
EVENT_CATEGORIES = (
(CONFERENCE, 'Conference'),
(GUEST_LECTURE, 'Guest lecture'),
(SEMINAR, 'Seminar'),
(SHORT_TERM_COURSE, 'Short term course'),
(SPECIAL_LECTURE, 'Special lecture'),
(TALK, 'Talk'),
(OTHER, 'Other')
)
2 changes: 2 additions & 0 deletions constants/event_roles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Event roles
ORGANISER = 'o'
ATTENDEE = 'a'
INVITEE = 'i'
EVENT_ROLES = (
(ORGANISER, 'Organiser'),
(ATTENDEE, 'Attendee'),
(INVITEE, 'Invitee')
)

0 comments on commit d06a83c

Please sign in to comment.