mirror of
https://github.com/jazzband/django-constance.git
synced 2026-05-12 17:43:13 +00:00
16 lines
348 B
Python
16 lines
348 B
Python
|
|
class Backend(object):
|
|
|
|
def get(self, key):
|
|
"""
|
|
Get the key from the backend store and return it.
|
|
Return None if not found.
|
|
"""
|
|
raise NotImplementedError
|
|
|
|
def set(self, key, value):
|
|
"""
|
|
Add the value to the backend store given the key.
|
|
"""
|
|
raise NotImplementedError
|
|
|