django.conf.SettingsReference - python examples

Here are the examples of the python api django.conf.SettingsReference taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 View Complete Implementation :
Copyright GNU Affero General Public License v3.0
Author : nesdis
    def test_serialize_settings(self):
        self.astertSerializedEqual(SettingsReference(settings.AUTH_USER_MODEL, "AUTH_USER_MODEL"))
            SettingsReference("someapp.model", "AUTH_USER_MODEL"),
            ("settings.AUTH_USER_MODEL", {"from django.conf import settings"})