Enable django.contrib.musician APP & add to urls

This commit is contained in:
Santiago L 2023-11-21 13:40:18 +01:00
parent e60ac8f24a
commit 3486ce9ff5
4 changed files with 7 additions and 1 deletions

View File

@ -41,7 +41,7 @@ This deployment is **not suitable for production** but more than enough for chec
```bash
# Create and activate a Python virtualenv
# Make sure python3.x-venv package is installed on your system
python3 -mvenv env-django-orchestra
python3 -m venv env-django-orchestra
source env-django-orchestra/bin/activate
# Install Orchestra and its dependencies

View File

@ -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'

View File

@ -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')),
]

View File

@ -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