Skip to content

Commit 84c083c

Browse files
update ordered list item numbers in README
1 parent a30ee8c commit 84c083c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
python -m pip install django-simple-nav
2525
```
2626

27-
1. **Add `django_simple_nav` to `INSTALLED_APPS`.**
27+
2. **Add `django_simple_nav` to `INSTALLED_APPS`.**
2828

2929
After installation, add `django_simple_nav` to your `INSTALLED_APPS` in your Django settings:
3030

@@ -36,7 +36,7 @@
3636
]
3737
```
3838

39-
1. **Adjust your Django project's settings.**
39+
3. **Adjust your Django project's settings.**
4040
4141
If you plan to use the permissions feature of `django-simple-nav` to filter your navigation items based on the `request.user`, `django.contrib.auth` and `django.contrib.contenttypes` must be added to your `INSTALLED_APPS` as well:
4242
@@ -51,7 +51,7 @@
5151
5252
If you do not add `django.contrib.auth` to your `INSTALLED_APPS` and you define any permissions for your navigation items, `django-simple-nav` will simply ignore the permissions and render all items regardless of whether the permission check is `True` or `False.`
5353
54-
1. **Add the template function to your Jinja environment**
54+
4. **Add the template function to your Jinja environment**
5555
5656
If you want to use Jinja 2 templates you will need to add the `django_simple_nav` function to your Jinja environment.
5757
Example:
@@ -221,7 +221,7 @@
221221
222222
Note that unlike in Django templates we need to index the `items` field as a string in Jinja.
223223
224-
1. **Integrate navigation in templates.**:
224+
3. **Integrate navigation in templates.**:
225225
226226
Use the `django_simple_nav` template tag in your Django templates (the `django_simple_nav` function in Jinja) where you want to display the navigation.
227227
@@ -318,21 +318,21 @@ You can run the example project by following these steps. These steps assume you
318318
cd django-simple-nav
319319
```
320320
321-
1. **Create a new virtual environment, activate it, and install `django-simple-nav`.**
321+
2. **Create a new virtual environment, activate it, and install `django-simple-nav`.**
322322
323323
```bash
324324
python -m venv venv
325325
source venv/bin/activate
326326
python -m pip install .
327327
```
328328
329-
1. **Run the example project.**
329+
3. **Run the example project.**
330330
331331
```bash
332332
python example/demo.py
333333
```
334334
335-
1. **Open your browser to `http://localhost:8000` to see the examples in action.**
335+
4. **Open your browser to `http://localhost:8000` to see the examples in action.**
336336
337337
## Documentation
338338

0 commit comments

Comments
 (0)