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
2015-07-19 11:42:54 +02:00

17 lines
471 B
Python

# -*- 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
class SettingsOverrideSupport(object):
def __init__(self):
self.ignore('settings')
def settings(self, **kwargs):
from django.test.utils import override_settings
return override_settings(**kwargs)