Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleaned up usage docs

  • Loading branch information...
commit 1422d70d0c650b573365c3c78c16611fe14231eb 1 parent c3d34f2
Brian Rosner brosner authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 docs/usage.txt
10 docs/usage.txt
View
@@ -16,13 +16,13 @@ that are required. A minimal integration can work like this:
"boxes",
)
-2. Add the ``boxes`` urls to the end of your root urlconf. Your urlconf
+2. Add the ``boxes`` URLs to the end of your root URLconf. Your URLconf
will look something like::
- urlpatterns = patterns('',
+ urlpatterns = patterns("",
# ...
- (r"^admin/(.*)", admin.site.root),
- (r"^boxes/", include("boxes.urls")),
+ url(r"^admin/", include(admin.site.urls)),
+ url(r"^boxes/", include("boxes.urls")),
)
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:
{% box label [*args **kwargs] %}
- WHere the ``*args`` and ``**kwargs`` are passed to the authorizatoin function,
+ Where the ``*args`` and ``**kwargs`` are passed to the authorizatoin function,
if not supplied no edit link will ever appear.
Please sign in to comment.
Something went wrong with that request. Please try again.