Skip to content

Commit ba89d4a

Browse files
committed
Update readme
1 parent 3ecea39 commit ba89d4a

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

README.md

+10-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22
======================
33

44
Django redirects, with regular expressions. It is a modified version of django.contrib.redirects.
@@ -10,34 +10,30 @@ Features
1010
* Configurable via the admin
1111
* Redirects are exportable as .csv
1212

13-
https://pypi.python.org/pypi/django-regex-redirects
13+
https://pypi.org/pypi/django-regex-redirects
1414

1515
Install
1616
=======
1717

18-
```pip install django-regex-redirects``` or ```python setup.py install```
18+
`pip install django-regex-redirects`
1919

20-
Add regex_redirects to your INSTALLED_APPS:
20+
Add `regex_redirects` to your `INSTALLED_APPS`:
2121

22-
```
22+
```python
2323
INSTALLED_APPS = (
2424
...
25-
'regex_redirects',
25+
"regex_redirects",
2626
...
2727
)
2828
```
2929

30-
Add the middleware to your MIDDLEWARE:
30+
Add the middleware to your `MIDDLEWARE`:
3131

32-
```
32+
```python
3333
MIDDLEWARE = [
34-
'regex_redirects.middleware.RedirectFallbackMiddleware'
34+
"regex_redirects.middleware.RedirectFallbackMiddleware"
3535
...
3636
]
3737
```
3838

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!

0 commit comments

Comments
 (0)