Luke Plant committed f315ec8

Fixed serving of static files with Django 1.3, and documented how to do it.

Comments (0)

Files changed (2)


+# Empty, necessary for autocomplete to be found as an app, which is
+# needed for serving static files.


 In order to work properly Django AutoComplete needs some javascript files.
 These files are contained in the :file:`autocomplete/media` directory and
-*must* be served from your ``{{ MEDIA_URL }}``.
+*must* be served from your ``{{ STATIC_URL }}``. This is easiest to achieve
+by adding ``'autocomplete'`` to your ``INSTALLED_APPS`` and using
+the built-in support for static files in Django 1.3 and above.
 .. note::