Fixed #73 -- Add memcached configuration options

This commit is contained in:
Raphael Michel
2015-06-23 19:57:34 +02:00
parent 7d3e2ec7f2
commit c4789fb9a4
4 changed files with 25 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ Example::
Connection details for the database connection. Empty by default.
URLs
-----
----
Example::
@@ -161,4 +161,17 @@ Example::
.. WARNING:: Never set this to ``True`` in production!
Memcached
---------
You can use an existing memcached server as pretix's caching backend::
[memcached]
location=127.0.0.1:11211
``location``
The location of memcached, either a host:port combination or a socket file.
If no memcached is configures, pretix will use Django's built-in local-memory caching method.
.. _Python documentation: https://docs.python.org/3/library/configparser.html?highlight=configparser#supported-ini-file-structure