Commit 34fed902 authored by Ceesjan Luiten's avatar Ceesjan Luiten

Render Python blocks

parent ffa050aa
......@@ -186,6 +186,7 @@ Step two is updating Weblate to use your CAS server and attributes.
To install `django-cas-ng`:
.. code-block:: sh
pip install django-cas-ng
Once you have the package installed you can hook it up to the Django
......@@ -219,6 +220,7 @@ cause problems, therefore it's suggested to put it:
- in the project's :file:`urls.py` file (when no models exist)
.. code-block:: python
from django_cas_ng.signals import cas_user_authenticated
from django.dispatch import receiver
@receiver(cas_user_authenticated)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment