-
-
reviewboard/admin/forms.py (Diff revision 1) Can you specify that this should be in hostname:port form?
-
reviewboard/templates/admin/general_settings.html (Diff revision 1) I'm really not sure what indentation levels you're trying to use here.
Provide a nicer selector for cache backends compatible with settings.CACHES.
Review Request #3603 — Created Dec. 1, 2012 and submitted
Information | |
---|---|
chipx86 | |
Review Board | |
release-1.7.x | |
Reviewers | |
reviewboard | |
Provide a nicer selector for cache backends compatible with settings.CACHES. The cache backend selector in General Settings is now much nicer, providing a dropdown of possible cache types and an appropriate field for entering the hosts or cache location. Two entries are provided by default: Memcached and File cache. If running with DEBUG = True, then "Local memory cache" will also be available, making it easier to test and debug things. If some other cache backend is used, then "Custom" will be an option as well, and will leave the cache settings untouched. This moves us away fully from the old Django CACHE_BACKEND setting.
Tested each cache backend and verified that the correct cache settings were stored in siteconfig and were being loaded out correctly.
Change Summary:
* Fixed indentation in the template. * Mentioned hostname:port syntax for cache hosts.
Diff: |
Revision 2 (+155 -18) |
---|