django-configurations/tests/settings/single_inheritance.py

11 lines
226 B
Python
Raw Normal View History

2012-07-21 13:56:04 +00:00
from .base import Base
class Inheritance(Base):
@property
def ALLOWED_HOSTS(self):
allowed_hosts = super(Inheritance, self).ALLOWED_HOSTS[:]
allowed_hosts.append('test')
return allowed_hosts