mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Improve documentation
This commit is contained in:
parent
6202257fc2
commit
88a0af8ba1
25 changed files with 207 additions and 76 deletions
|
@ -18,9 +18,10 @@
|
|||
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
Radicale WSGI application.
|
||||
Entry point for external WSGI servers (like uWSGI or Gunicorn).
|
||||
|
||||
Can be used with an external WSGI server or the built-in server.
|
||||
Configuration files can be specified in the environment variable
|
||||
``RADICALE_CONFIG``.
|
||||
|
||||
"""
|
||||
|
||||
|
@ -57,6 +58,7 @@ def _init_application(config_path, wsgi_errors):
|
|||
|
||||
|
||||
def application(environ, start_response):
|
||||
"""Entry point for external WSGI servers."""
|
||||
config_path = environ.get("RADICALE_CONFIG",
|
||||
os.environ.get("RADICALE_CONFIG"))
|
||||
if _application is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue