Exemple #1
0
 def __init__(self, *args, **kwargs):
     initial = django_settings.all()
     kwargs['initial'] = initial
     return super(SettingsForm, self).__init__(*args, **kwargs)
def settings(request):
    return {"settings": django_settings.all()}
 def get_all_data():
     self.assert_items_equal(django_settings.all(), data_dict)
 def get_all_data():
     self.assert_items_equal(django_settings.all(), data_dict)