Skip to content

Commit

Permalink
Update README.md: RST -> MD
Browse files Browse the repository at this point in the history
  • Loading branch information
djm authored Sep 22, 2024
1 parent 6830c7e commit 5226341
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ Setup

Settings:

.. code:: python

```python
PERIMETER_ENABLED = True

INSTALLED_APPS = (
Expand All @@ -82,18 +81,19 @@ Settings:
"perimeter.middleware.PerimeterAccessMiddleware",
...
]
```

Site urls:

.. code:: python

```python
# in site urls
urlpatterns = [
...
# NB you must include the namespace, as it is referenced in the app
path("perimeter/", include("perimeter.urls", namespace="perimeter")),
...
]
```

## Tests

Expand Down

0 comments on commit 5226341

Please sign in to comment.