Enable django.contrib.musician APP & add to urls
This commit is contained in:
parent
e60ac8f24a
commit
3486ce9ff5
|
@ -55,6 +55,7 @@ INSTALLED_APPS = [
|
|||
'orchestra.contrib.vps',
|
||||
'orchestra.contrib.saas',
|
||||
'orchestra.contrib.miscellaneous',
|
||||
'orchestra.contrib.musician',
|
||||
|
||||
# Third-party apps
|
||||
'django_extensions',
|
||||
|
@ -233,6 +234,7 @@ FLUENT_DASHBOARD_ICON_THEME = '../orchestra/icons'
|
|||
|
||||
# Django-celery
|
||||
import djcelery
|
||||
|
||||
djcelery.setup_loader()
|
||||
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
from django.contrib import admin
|
||||
from django.conf.urls import include, url
|
||||
from django.urls import path
|
||||
from rest_framework.authtoken.views import obtain_auth_token
|
||||
|
||||
from orchestra.views import serve_private_media
|
||||
|
@ -22,6 +23,8 @@ urlpatterns = [
|
|||
url(r'^api-token-auth/', obtain_auth_token, name='api-token-auth'),
|
||||
url(r'^media/(.+)/(.+)/(.+)/(.+)/(.+)$', serve_private_media, name='private-media'),
|
||||
# url(r'search', 'orchestra.views.search', name='search'),
|
||||
# MUSICIAN
|
||||
path('panel/', include('orchestra.contrib.musician.urls')),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Django==2.2.24
|
||||
django-fluent-dashboard==1.0.1
|
||||
django-admin-tools==0.9.1
|
||||
django-bootstrap4
|
||||
django-extensions==3.1.3
|
||||
django-celery==3.2.1
|
||||
celery==3.1.23
|
||||
|
|
Loading…
Reference in a new issue