···33History
44-------
5566+2.0.1 (2019-08-27)
77+++++++++++++++++++
88+99+* Fixed bug with import settings.
1010+6112.0 (2019-08-27)
77-+++++++++++++++++
1212+++++++++++++++++
813914* Drop support for Python 2.
1015* ``Option`` model and ``UserOption`` model are now swappable.
···99from django.utils.text import slugify
10101111from options.constants import INT, FLOAT, STRING, CONVERTER
1212-from options.settings import DEFAULT_OPTION_MODEL, DEFAULT_USER_OPTION_MODEL
131214131514def get_option_model():
1615 """Return the Notification model that is active in this project."""
1616+ from options.settings import DEFAULT_OPTION_MODEL
1717+1718 try:
1819 return django_apps.get_model(DEFAULT_OPTION_MODEL, require_ready=False)
1920 except ValueError:
···29303031def get_user_option_model():
3132 """Return the Notification model that is active in this project."""
3333+ from options.settings import DEFAULT_USER_OPTION_MODEL
3434+3235 try:
3336 return django_apps.get_model(DEFAULT_USER_OPTION_MODEL, require_ready=False)
3437 except ValueError: