djangosnippets.org: Latest snippets tagged with 'preferred-domain'https://djangosnippets.org/tags/preferred-domain/2008-11-25T04:21:15.739202-06:00Preferred Domain decorator function.
2008-11-25T04:21:15.739202-06:00jamiecURLehttps://djangosnippets.org/snippets/1215/<p>From time to time I often have to work with a site that has two domain names. This can be an issue when dealing with mapping api keys so to solve this problem I whipped up a decorator function that allows a preferred domain to be enforced on a per …</p>
Freely redistributable