intent/config/urls.py

15 lines
481 B
Python
Raw Normal View History

from django.contrib import admin
from django.urls import include, path
from intent.core import views
from intent.orgs.urls import invite_urlpatterns
urlpatterns = [
path("", views.home, name="home"),
path("admin/", admin.site.urls),
path("accounts/", include("allauth.urls")),
path("invites/", include(invite_urlpatterns)),
# Last: organizations own the rest of the URL space (see RESERVED_SLUGS).
path("<slug:org_slug>/", include("intent.orgs.urls")),
]