#18762: Problem with url in templates -------------------------------+-------------------------------------- Reporter: jendxb@… | Owner: nobody Type: Bug | 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: 0 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by charettes):
* status: new => closed * resolution: => invalid Comment: The 1.4.X release branch still rely on the old behaviour by default. I guess your report is against [https://docs.djangoproject.com/en/dev/intro/tutorial03/#removing- hardcoded-urls-in-templates this part] of the **development** version documentation. If you want this to work in 1.4.1 you must add a `{% load url from future %}` at the top of your template. Again, I advise you to read [https://docs.djangoproject.com/en/dev/releases/1.3/#changes-to-url-and- ssi the django 1.3 release note explaining this] to understand why you encounter this error. -- Ticket URL: <https://code.djangoproject.com/ticket/18762#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.