aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamron Flanders2009-04-20 14:54:56 -0500
committerJacob Kaplan-Moss2009-04-20 14:54:56 -0500
commit6b4506871ac9b6e0a1aa5f59e2a07c873c122b6d (patch)
treeef2d4cf14f26f1031f37eb66598873ea8a3eab0d
parentc55f089a40a0bd443c697dfdc198f60d6f306eea (diff)
downloaddjango-shorturls-6b4506871ac9b6e0a1aa5f59e2a07c873c122b6d.tar.bz2
Fixed a few typos in the README.
-rw-r--r--README8
1 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 3b04def..9c34d46 100644
--- a/README
+++ b/README
@@ -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.