Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cleaned up usage docs

  • Loading branch information...
commit 1422d70d0c650b573365c3c78c16611fe14231eb 1 parent c3d34f2
Brian Rosner brosner authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +5 5 docs/usage.txt
10 docs/usage.txt
@@ -16,13 +16,13 @@ that are required. A minimal integration can work like this:
16 16 "boxes",
17 17 )
18 18
19   -2. Add the ``boxes`` urls to the end of your root urlconf. Your urlconf
  19 +2. Add the ``boxes`` URLs to the end of your root URLconf. Your URLconf
20 20 will look something like::
21 21
22   - urlpatterns = patterns('',
  22 + urlpatterns = patterns("",
23 23 # ...
24   - (r"^admin/(.*)", admin.site.root),
25   - (r"^boxes/", include("boxes.urls")),
  24 + url(r"^admin/", include(admin.site.urls)),
  25 + url(r"^boxes/", include("boxes.urls")),
26 26 )
27 27
28 28 3. Add two templates under ``templates/boxes/``. One called ``refresh.html``
@@ -38,5 +38,5 @@ that are required. A minimal integration can work like this:
38 38
39 39 {% box label [*args **kwargs] %}
40 40
41   - WHere the ``*args`` and ``**kwargs`` are passed to the authorizatoin function,
  41 + Where the ``*args`` and ``**kwargs`` are passed to the authorizatoin function,
42 42 if not supplied no edit link will ever appear.

0 comments on commit 1422d70

Please sign in to comment.
Something went wrong with that request. Please try again.