Skip to content

Commit

Permalink
Merge pull request #99 from StevenMapes/develop
Browse files Browse the repository at this point in the history
Merging in code block changes
  • Loading branch information
StevenMapes authored Oct 18, 2024
2 parents 3fa7a40 + 6161e96 commit 8740ca1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Usage
``include`` however the first argument should be either a decorator or an
iterable of decorators to apply to all included views (if an iterable, the order of the
decorators is the order in which the functions will be applied on the views).
Here is an example URL conf::
Here is an example URL conf

.. code-block:: python
from django.contrib import admin
from django.core.exceptions import PermissionDenied
Expand All @@ -58,7 +60,6 @@ Here is an example URL conf::
path('admin/', decorator_include([login_required, only_user('god')], admin.site.urls),
]

Supported versions
------------------
Expand Down

0 comments on commit 8740ca1

Please sign in to comment.