1

The Django example here shows the use of the following import

from django.utils.html import format_html_join

However, this import cannot be resolved.

Has it changed its name? or moved? Where can I find it now?

PS I'm using Django 1.4.5 (current stable version)

2 Answers 2

2

Only present in Django documentation 1.5, what version of Django do you have?

>>> import django
>>> print django.VERSION
Sign up to request clarification or add additional context in comments.

4 Comments

1.4, since when I'm I reading the 1.5 docs. that version is not out yet right?
is there something in 1.4 that will do the same?
look at the code ;p seems easy to reproduce: github.com/django/django/blob/master/django/utils/html.py#L88
dam, yep I see. did not know I was reading the out of date docs tho. :0 thanks.
2

You're looking at the documentation for the development version of django. It's likely that you don't have the development version installed on your machine (the current stable version is django 1.4.5 which doesn't include the function).

Here's a link to the 1.4 version of the docs.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.