[Django] #18723: Decoupled urls syntax in docs differs from what works on my platform

4 views
Skip to first unread message

Django

unread,
Aug 5, 2012, 11:17:02 PM8/5/12
to django-...@googlegroups.com
#18723: Decoupled urls syntax in docs differs from what works on my platform
----------------------------------+--------------------
Reporter: chris.pagnutti@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+--------------------
I'm just running through the tutorial and found that at the end of Part 3,
where decoupled urls are introduced, I was getting an error which was
resolved by removing the single quotes. Like this

<li><a href="{% url polls.views.detail poll.id %}">{{ poll.question
}}</a></li>

Maybe this is platform specific? I'm running django on arch linux
installed from the official repos.

--
Ticket URL: <https://code.djangoproject.com/ticket/18723>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 6, 2012, 3:28:44 AM8/6/12
to django-...@googlegroups.com
#18723: Decoupled urls syntax in docs differs from what works on my platform
----------------------------------+--------------------------------------
Reporter: chris.pagnutti@… | Owner: nobody
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.4
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by aaugustin):

* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0


Comment:

You're following the tutorial for the in-development version of Django,
but using an earlier release (probably 1.4).

Please use the documentation for your version of Django.

Duplicate of many other tickets.

--
Ticket URL: <https://code.djangoproject.com/ticket/18723#comment:1>

Django

unread,
Aug 18, 2012, 3:58:55 AM8/18/12
to django-...@googlegroups.com
#18723: Decoupled urls syntax in docs differs from what works on my platform
----------------------------------+--------------------------------------
Reporter: chris.pagnutti@… | Owner: nobody
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.4
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+--------------------------------------

Comment (by Aymeric Augustin <aymeric.augustin@…>):

In [4da1d0fd65e01abe013e0d5a9174b81c6bbfa677]:
{{{
#!CommitTicketReference repository=""
revision="4da1d0fd65e01abe013e0d5a9174b81c6bbfa677"
Added a warning about the {% url %} syntax change

at the point where it bites most beginners.

Refs #18787, #18762, #18756, #18723, #18705, #18689 and several
duplicates.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/18723#comment:2>

Reply all
Reply to author
Forward
0 new messages