diff options
| author | Camron Flanders | 2009-04-20 14:54:56 -0500 |
|---|---|---|
| committer | Jacob Kaplan-Moss | 2009-04-20 14:54:56 -0500 |
| commit | 6b4506871ac9b6e0a1aa5f59e2a07c873c122b6d (patch) | |
| tree | ef2d4cf14f26f1031f37eb66598873ea8a3eab0d | |
| parent | c55f089a40a0bd443c697dfdc198f60d6f306eea (diff) | |
| download | django-shorturls-6b4506871ac9b6e0a1aa5f59e2a07c873c122b6d.tar.bz2 | |
Fixed a few typos in the README.
| -rw-r--r-- | README | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ django-shorturls ================ -A custom URL shortening app for Django, including easy ``rev=cannonical`` +A custom URL shortening app for Django, including easy ``rev=canonical`` support. Most code was originally by Simon Willison; see @@ -40,7 +40,7 @@ So, you want to host your own short URLs on your Django site: 3. If you'd like to quickly link to shortened URLs in your templates, stick ``"shorturls"`` in ``INSTALLED_APPS``, and then in your templates do:: - {% load shorturls %} + {% load shorturl %} <a href="{% shorturl object %}">...</a> (where ``object`` is a model instance). @@ -48,7 +48,7 @@ So, you want to host your own short URLs on your Django site: Alternatively:: {% load shorturls %} - {% recanonical object %} + {% revcanonical object %} This generates the whole ``<link rev="canonical" href="...">`` tag for you. @@ -80,4 +80,4 @@ Available settings are: If not defined, the redirect view will try to guess the proper domain by consulting the ``django.contrib.sites`` framework, if installed, or the - requested domain, if not.
\ No newline at end of file + requested domain, if not. |
