djangosnippets.org: Latest snippets posted by jamiecURLehttps://djangosnippets.org/users/jamiecURLe/2008-11-25T04:21:15-06:00jamiecURLePreferred Domain decorator function.2008-11-25T04:21:15-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