mirror of
https://github.com/tanrax/org-social-host
synced 2026-01-08 06:13:33 +01:00
21 lines
490 B
Python
21 lines
490 B
Python
"""
|
|
URL configuration for Org Social Host project.
|
|
"""
|
|
|
|
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
from django.urls import include, path
|
|
|
|
from app.hosting import views
|
|
|
|
urlpatterns = [
|
|
# Root endpoint
|
|
path("", views.root_view, name="root"),
|
|
# Hosting endpoints
|
|
path("", include("app.hosting.urls")),
|
|
]
|
|
|
|
# Serve static files in development
|
|
if settings.DEBUG:
|
|
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|