mirror of
https://github.com/django-components/django-components.git
synced 2025-08-28 18:04:04 +00:00

* 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
20 lines
534 B
Markdown
20 lines
534 B
Markdown
# URLs
|
|
|
|
Below are all the URL patterns that will be added by adding `django_components.urls`.
|
|
|
|
See [Installation](../overview/installation.md#adding-support-for-js-and-css)
|
|
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:
|
|
|
|
```python
|
|
from django.urls import include, path
|
|
|
|
urlpatterns = [
|
|
...
|
|
path("", include("django_components.urls")),
|
|
]
|
|
```
|
|
|
|
## List of URLs
|