"""Models for cross-domain configuration. """fromdjango.dbimportmodelsfromdjango.utils.translationimportugettext_lazyas_fromconfig_models.modelsimportConfigurationModelclassXDomainProxyConfiguration(ConfigurationModel):"""Cross-domain proxy configuration. See `cors_csrf.views.xdomain_proxy` for an explanation of how this works. """whitelist=models.fields.TextField(help_text=_(u"List of domains that are allowed to make cross-domain "u"requests to this site. Please list each domain on its own line."))