This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;/usr/local/etc/afp.conf | |
; Netatalk 3.x configuration file | |
; | |
[Global] | |
; Global server settings | |
vol preset = default_for_all_vol | |
hostname = TimeCapsule | |
log file = /var/log/netatalk.log | |
log level = default:info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import types | |
from django.conf import settings | |
from urllib import urlencode | |
from django.core.cache.backends.base import BaseCache | |
from django.utils.encoding import smart_str | |
#future-proofing against any Django upstream additions of new cache methods. | |
# If we didn't do this, we'd silently use the base class's methods, which wouldn't | |
# use the prefix as required. | |
_expected_methods = set(['__contains__', '__init__', 'add', 'close', |