wagtail-longclaw/docs/usage.rst

27 wiersze
397 B
ReStructuredText
Czysty Zwykły widok Historia

2017-02-03 10:04:57 +00:00
=====
Usage
=====
To use longclaw in a project, add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'longclaw.apps.LongclawConfig',
...
)
Add longclaw's URL patterns:
.. code-block:: python
from longclaw import urls as longclaw_urls
urlpatterns = [
...
url(r'^', include(longclaw_urls)),
...
]