Skip to content

Commit ea50a4a

Browse files
committed
V 0.3
1 parent 05186f6 commit ea50a4a

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

README.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
django-dev-protector
22
====================
3+
https://github.com/ElusiveSpirit/django-dev-protector
4+
35
The app for freelance developers, that blocks site if needed.
46

57
It can be used in situations when a client don't want to pay your work. The app blocks all requests to the site and shows a message of this situation.
68

79
Installation
8-
------------
10+
11+
pip install django-dev-protector
12+
913
settings.py
1014
```
1115
INSTALLED_APPS = [
@@ -38,7 +42,7 @@ By default server is unblocked
3842

3943
Usage
4044
-----
41-
You save your django SECRET_KEY from settings
45+
You need to save your django SECRET_KEY from settings first
4246
```
4347
SECRET_KEY = '...
4448
```
@@ -57,3 +61,12 @@ curl \
5761
-X POST -d '{"key": "<SECRET_KEY>", "status": true}' \
5862
http://<your_domain>/django_dev_protector/
5963
```
64+
65+
Localize
66+
--------
67+
The app template support Russian. You only need to switch Russian in settings.
68+
```
69+
LANGUAGE_CODE = 'ru-ru'
70+
71+
USE_I18N = True
72+
```

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='django-dev-protector',
11-
version='0.2',
11+
version='0.3',
1212
packages=['django_dev_protector'],
1313
include_package_data=True,
1414
license='BSD License',

0 commit comments

Comments
 (0)