aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.