mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Reorganise the file structure into a project tree
This commit is contained in:
21
app/groups/app_defines.py
Normal file
21
app/groups/app_defines.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# Group Types
|
||||
GROUP_TYPE_BUILTIN = 0
|
||||
GROUP_TYPE_MANAGED = 1
|
||||
GROUP_TYPE_PERMISSION = 2
|
||||
|
||||
GROUP_TYPE_CHOICES = (
|
||||
(GROUP_TYPE_BUILTIN, 'Built-In'),
|
||||
(GROUP_TYPE_PERMISSION, 'Permission'),
|
||||
(GROUP_TYPE_MANAGED, 'Managed'),
|
||||
)
|
||||
|
||||
# Request Status Codes
|
||||
REQUEST_PENDING = 0
|
||||
REQUEST_ACCEPTED = 1
|
||||
REQUEST_REJECTED = 2
|
||||
|
||||
REQUEST_STATUS_CHOICES = (
|
||||
(REQUEST_PENDING, 'Pending'),
|
||||
(REQUEST_ACCEPTED, 'Accepted'),
|
||||
(REQUEST_REJECTED, 'Rejected'),
|
||||
)
|
||||
Reference in New Issue
Block a user