Skip to content

Commit c290c96

Browse files
committed
Small fixes in the README.
1 parent e16788a commit c290c96

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ Installation
99
* Install *ipcalc* library.
1010
* Add django_ban in you INSTALLED_APPS.
1111
* Add option **BAN_POLICY**:
12-
`BAN_POLICY = 'deny,allow'` or `BAN_POLICY = 'allow,deny'`
12+
`BAN_POLICY = 'deny,allow'` or `BAN_POLICY = 'allow,deny'`.
13+
1314
In first case it means that all users are allowed by default,
14-
second case restricts access to all users who not in *allow* list.
15+
second case restricts access to all users who not in *allow* list
16+
1517
**Default value is 'allow,deny'**
16-
* Add `'django_ban.middleware.Ban'` to your `MIDDLEWARE_CLASSESz.
18+
19+
* Add `'django_ban.middleware.Ban'` to your `MIDDLEWARE_CLASSES`.
1720
* Run ./manage.py syncdb, to create necessary tables.
1821
* Add one or more entries to the Allow or Deny lists in the admin
1922
interface. You can just enter a single IP or use a network mask,

0 commit comments

Comments
 (0)