Simple app to add configuration options to a Django project.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 20 lines 491 B view raw
1"""Simple app to add configuration options to a Django project.""" 2import django 3 4from options.constants import CONVERTER, FILE, FLOAT, INT, STR, TYPE_CHOICES 5from options.helpers import get_option_model, get_user_option_model 6 7__all__ = [ 8 "get_option_model", 9 "get_user_option_model", 10 "FLOAT", 11 "INT", 12 "STR", 13 "FILE", 14 "TYPE_CHOICES", 15 "CONVERTER", 16] 17__version__ = "2.4.0" 18 19if django.VERSION < (3, 2): 20 default_app_config = "options.apps.ConfigurationsConfig"