Enable django.contrib.musician APP & add to urls
This commit is contained in:
parent
684bbec2cb
commit
471e137673
|
@ -55,6 +55,7 @@ INSTALLED_APPS = [
|
||||||
'orchestra.contrib.vps',
|
'orchestra.contrib.vps',
|
||||||
'orchestra.contrib.saas',
|
'orchestra.contrib.saas',
|
||||||
'orchestra.contrib.miscellaneous',
|
'orchestra.contrib.miscellaneous',
|
||||||
|
'orchestra.contrib.musician',
|
||||||
|
|
||||||
# Third-party apps
|
# Third-party apps
|
||||||
'django_extensions',
|
'django_extensions',
|
||||||
|
@ -233,6 +234,7 @@ FLUENT_DASHBOARD_ICON_THEME = '../orchestra/icons'
|
||||||
|
|
||||||
# Django-celery
|
# Django-celery
|
||||||
import djcelery
|
import djcelery
|
||||||
|
|
||||||
djcelery.setup_loader()
|
djcelery.setup_loader()
|
||||||
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
|
CELERYBEAT_SCHEDULER = 'djcelery.schedulers.DatabaseScheduler'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.conf.urls import include, url
|
from django.conf.urls import include, url
|
||||||
|
from django.urls import path
|
||||||
from rest_framework.authtoken.views import obtain_auth_token
|
from rest_framework.authtoken.views import obtain_auth_token
|
||||||
|
|
||||||
from orchestra.views import serve_private_media
|
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'^api-token-auth/', obtain_auth_token, name='api-token-auth'),
|
||||||
url(r'^media/(.+)/(.+)/(.+)/(.+)/(.+)$', serve_private_media, name='private-media'),
|
url(r'^media/(.+)/(.+)/(.+)/(.+)/(.+)$', serve_private_media, name='private-media'),
|
||||||
# url(r'search', 'orchestra.views.search', name='search'),
|
# 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==2.2.24
|
||||||
django-fluent-dashboard==1.0.1
|
django-fluent-dashboard==1.0.1
|
||||||
django-admin-tools==0.9.1
|
django-admin-tools==0.9.1
|
||||||
|
django-bootstrap4
|
||||||
django-extensions==3.1.3
|
django-extensions==3.1.3
|
||||||
django-celery==3.2.1
|
django-celery==3.2.1
|
||||||
celery==3.1.23
|
celery==3.1.23
|
||||||
|
|
Loading…
Reference in New Issue