This repository has been archived on 2023-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
django-pyvows/django_pyvows/settings_helpers.py

18 lines
471 B
Python
Raw Normal View History

2015-07-19 09:42:54 +00:00
# -*- coding: utf-8 -*-
# django-pyvows extensions
# https://github.com/rafaelcaricio/django-pyvows
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2011 Rafael Caricio rafael@caricio.com
2015-07-19 09:17:55 +00:00
class SettingsOverrideSupport(object):
def __init__(self):
self.ignore('settings')
def settings(self, **kwargs):
from django.test.utils import override_settings
return override_settings(**kwargs)