Commit ba89d4a 1 parent 3ecea39 commit ba89d4a Copy full SHA for ba89d4a
File tree 1 file changed +10
-14
lines changed
1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
- django-regex-redirects [ ![ Build Status ] ( https://travis-ci.org/maykinmedia/django-regex-redirects.svg?branch=master )] ( https://travis-ci.org/maykinmedia/django-regex-redirects )
1
+ django-regex-redirects
2
2
======================
3
3
4
4
Django redirects, with regular expressions. It is a modified version of django.contrib.redirects.
@@ -10,34 +10,30 @@ Features
10
10
* Configurable via the admin
11
11
* Redirects are exportable as .csv
12
12
13
- https://pypi.python. org/pypi/django-regex-redirects
13
+ https://pypi.org/pypi/django-regex-redirects
14
14
15
15
Install
16
16
=======
17
17
18
- ``` pip install django-regex-redirects ``` or ``` python setup.py install `` `
18
+ ` pip install django-regex-redirects `
19
19
20
- Add regex_redirects to your INSTALLED_APPS:
20
+ Add ` regex_redirects ` to your ` INSTALLED_APPS ` :
21
21
22
- ```
22
+ ``` python
23
23
INSTALLED_APPS = (
24
24
...
25
- ' regex_redirects' ,
25
+ " regex_redirects" ,
26
26
...
27
27
)
28
28
```
29
29
30
- Add the middleware to your MIDDLEWARE:
30
+ Add the middleware to your ` MIDDLEWARE ` :
31
31
32
- ```
32
+ ``` python
33
33
MIDDLEWARE = [
34
- ' regex_redirects.middleware.RedirectFallbackMiddleware'
34
+ " regex_redirects.middleware.RedirectFallbackMiddleware"
35
35
...
36
36
]
37
37
```
38
38
39
- Run manage.py migrate and you're good to go!
40
-
41
-
42
-
43
-
39
+ Run ` manage.py migrate ` and you're good to go!
You can’t perform that action at this time.
0 commit comments