File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
django-dev-protector
2
2
====================
3
+ https://github.com/ElusiveSpirit/django-dev-protector
4
+
3
5
The app for freelance developers, that blocks site if needed.
4
6
5
7
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.
6
8
7
9
Installation
8
- ------------
10
+
11
+ pip install django-dev-protector
12
+
9
13
settings.py
10
14
```
11
15
INSTALLED_APPS = [
@@ -38,7 +42,7 @@ By default server is unblocked
38
42
39
43
Usage
40
44
-----
41
- You save your django SECRET_KEY from settings
45
+ You need to save your django SECRET_KEY from settings first
42
46
```
43
47
SECRET_KEY = '...
44
48
```
@@ -57,3 +61,12 @@ curl \
57
61
-X POST -d '{"key": "<SECRET_KEY>", "status": true}' \
58
62
http://<your_domain>/django_dev_protector/
59
63
```
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
+ ```
Original file line number Diff line number Diff line change 8
8
9
9
setup (
10
10
name = 'django-dev-protector' ,
11
- version = '0.2 ' ,
11
+ version = '0.3 ' ,
12
12
packages = ['django_dev_protector' ],
13
13
include_package_data = True ,
14
14
license = 'BSD License' ,
You can’t perform that action at this time.
0 commit comments