Skip to content

Commit

Permalink
updated docs to use the new url pattern syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mbi committed Sep 23, 2017
1 parent 4943f05 commit 814e868
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,9 @@ Installation
3. Run ``python manage.py syncdb`` (or ``python manage.py migrate`` if you are managing database migrations via South) to create the required database tables
4. Add an entry to your ``urls.py``::

urlpatterns += patterns('',
urlpatterns += [
url(r'^captcha/', include('captcha.urls')),
)


Django-simple-captcha 0.4.3 and later supports both Django 1.7's new migrations and South migrations: if you are using South and Django < 1.7, you must define the following in your settings::

SOUTH_MIGRATION_MODULES = {
'captcha': 'captcha.south_migrations',
}

]

.. _pip: http://pypi.python.org/pypi/pip

Expand Down

0 comments on commit 814e868

Please sign in to comment.