Import django-selectable

This will also be used to do /admin/ autocompletes.
This commit is contained in:
Magnus Hagander
2016-06-23 17:56:42 +02:00
parent 41e1b3b1b2
commit a6d3b44038
88 changed files with 12623 additions and 0 deletions

View File

@ -0,0 +1,10 @@
from __future__ import unicode_literals
from django.conf import settings
# Set default settings
if not hasattr(settings, 'SELECTABLE_MAX_LIMIT'):
settings.SELECTABLE_MAX_LIMIT = 25
if not hasattr(settings, 'SELECTABLE_ESCAPED_KEYS'):
settings.SELECTABLE_ESCAPED_KEYS = ('label', )