Skip to content

Commit 01d2457

Browse files
committed
code style
1 parent 570c608 commit 01d2457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pip install django-api-permission
1616

1717
### 2.2 add to INSTALLED_APPS and MIDDLEWARE
1818

19-
```
19+
```python
2020
INSTALLED_APPS = [
2121
...
2222
'api_permission',
@@ -41,7 +41,7 @@ MIDDLEWARE = [
4141

4242
set `API_PERMISSION_CONF` in your settings.py as a dict.
4343

44-
```
44+
```python
4545
API_PERMISSION_CONF = {
4646
'API_PREFIX': ['api/topic/'], # default is /
4747
'PERMISSION_DENIED_CODE': 400, # default is 1

0 commit comments

Comments
 (0)