Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sjbitcode committed Jan 6, 2023
1 parent 40de5f3 commit fad3cc9
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,16 @@ MIDDLEWARE = [
]
```

4. **Prerequisites**

In your `TEMPLATES` settings within your Django settings module, make sure
1. the `BACKEND` setting is `""django.template.backends.django.DjangoTemplates""`
2. the `APP_DIRS` setting is `True`
4. Make sure your `TEMPLATES` settings uses the `DjangoTemplates` backend with `APP_DIRS` set to `True`
```python
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"APP_DIRS": True,
...
}
]
```

<br>

Expand Down Expand Up @@ -133,13 +138,11 @@ The `django-cbv-inspect` toolbar has three main sections:
2. CBV method call chain
3. MRO classes

<br>

### View information

This section shows high level information about the class-based view, request, and url.

<br>

### CBV method call chain

Expand All @@ -153,8 +156,6 @@ It shows:
- module location


<br>

### MRO classes
This section lists all MRO classes of the current class-based view class.

Expand Down

0 comments on commit fad3cc9

Please sign in to comment.