#137 Deployment: **Upgrade to Liquidsoap 2.4**: code has been adapted to work with liquidsoap 2.4 Co-authored-by: bkfox <thomas bkfox net> Reviewed-on: #138
This commit is contained in:
		@ -20,13 +20,18 @@ from django.contrib import admin
 | 
			
		||||
from django.urls import include, path
 | 
			
		||||
 | 
			
		||||
import aircox.urls
 | 
			
		||||
import aircox_streamer.urls
 | 
			
		||||
 | 
			
		||||
urlpatterns = aircox.urls.urls + [
 | 
			
		||||
    path("admin/", admin.site.urls),
 | 
			
		||||
    path("accounts/", include("django.contrib.auth.urls")),
 | 
			
		||||
    path("ckeditor/", include("ckeditor_uploader.urls")),
 | 
			
		||||
    path("filer/", include("filer.urls")),
 | 
			
		||||
]
 | 
			
		||||
urlpatterns = (
 | 
			
		||||
    aircox.urls.urls
 | 
			
		||||
    + aircox_streamer.urls.urls
 | 
			
		||||
    + [
 | 
			
		||||
        path("admin/", admin.site.urls),
 | 
			
		||||
        path("accounts/", include("django.contrib.auth.urls")),
 | 
			
		||||
        path("ckeditor/", include("ckeditor_uploader.urls")),
 | 
			
		||||
        path("filer/", include("filer.urls")),
 | 
			
		||||
    ]
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
if settings.DEBUG:
 | 
			
		||||
    urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + static(
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user