Commits

Mark Lavin committed 0d5574a Merge

Merge back stable fix.

  • Participants
  • Parent commits f4d2db5, 5168a20

Comments (0)

Files changed (6)

 0000000000000000000000000000000000000000 version-0.2.0
 c6671545c9e32bf1635c684f16ee7fb645cae7dd version-0.2.0
 b0e1a2bcc104a8951db42f809aced3d3c9d018e1 version-0.3.0
+f04a62d8741f8ed6ff02da2ef9754b634b0b861d version-0.3.1
 `Read The Docs <http://readthedocs.org/>`_:
 
 - `Dev <http://readthedocs.org/docs/django-selectable/en/latest/>`_
-- `v0.3.0 <http://readthedocs.org/docs/django-selectable/en/version-0.3.0/>`_
+- `v0.3.1 <http://readthedocs.org/docs/django-selectable/en/version-0.3.1/>`_
 - `v0.2.0 <http://readthedocs.org/docs/django-selectable/en/version-0.2.0/>`_
 - `v0.1.2 <http://readthedocs.org/docs/django-selectable/en/version-0.1.2/>`_
 

docs/conf.py

File contents unchanged.

docs/releases.rst

 - Support for ``ModelLookup.search_field`` string has been removed. You should use the ``ModelLookup.search_fields`` tuple instead.
 
 
+v0.3.1 (Released 2012-02-23)
+--------------------------------------
+
+Bug Fixes
+_________________
+
+- Fixed issue with media urls when not using staticfiles.
+
+
 v0.3.0 (Released 2012-02-15)
 --------------------------------------
 

selectable/__init__.py

File contents unchanged.

selectable/forms/widgets.py

 
 MEDIA_URL = settings.MEDIA_URL
 STATIC_URL = getattr(settings, 'STATIC_URL', u'')
-MEDIA_PREFIX = u'%sselectable/' % STATIC_URL or MEDIA_URL
+MEDIA_PREFIX = u'%sselectable/' % (STATIC_URL or MEDIA_URL)
 
 
 class SelectableMediaMixin(object):