feat(api): split api into multiple apps (#1626)
Fixes #1622 - split the api into 4 apps: core, history, schedule, storage - exploded the settings into testing/prod
This commit is contained in:
parent
87d2da9d84
commit
fce988aef1
120 changed files with 1499 additions and 1078 deletions
|
@ -1,10 +1,4 @@
|
|||
import logging
|
||||
|
||||
from django.contrib.auth.models import Group, Permission
|
||||
|
||||
from .models.user_constants import DJ, GUEST, PROGRAM_MANAGER, USER_TYPES
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
from .core.models import DJ, GUEST, PROGRAM_MANAGER, USER_TYPES
|
||||
|
||||
GUEST_PERMISSIONS = [
|
||||
"view_schedule",
|
||||
|
@ -24,6 +18,7 @@ GUEST_PERMISSIONS = [
|
|||
"view_webstream",
|
||||
"view_apiroot",
|
||||
]
|
||||
|
||||
DJ_PERMISSIONS = GUEST_PERMISSIONS + [
|
||||
"add_file",
|
||||
"add_podcast",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue