django-components/docs/templates/reference_urls.md
David Linke 594c0689ba
docs: Move docs-folder to root (#816)
* Move docs-folder form src to root

* Avoid mkdocs package / module name clash

* Update location of docs & add Windows compatibility

* Update requirements-docs

* Update generated file to current state
2024-12-03 12:32:21 +01:00

534 B

URLs

Below are all the URL patterns that will be added by adding django_components.urls.

See Installation on how to add these URLs to your Django project.

Django components already prefixes all URLs with components/. So when you are adding the URLs to urlpatterns, you can use an empty string as the first argument:

from django.urls import include, path

urlpatterns = [
    ...
    path("", include("django_components.urls")),
]

List of URLs