Mercurial > kallithea
view docs/index.rst @ 7992:5a092b5f0d98
routing: fix files_annotate_home annotate value to be compatible with Routes >= 2
The routing entry for files_annotate_home had annotate=True. That primarily
served to let the controller files.index differentiate files_annotate_home from
files_home and files_home_nopath . Anything true can work.
test_files.py is creating files_annotate_home URLs in an odd way: Instead of
explicitly specifying it is a files_annotate_home URL, it passes expected
controller parameters and expects routing to find a URL that would provide
these parameters. It thus also has to specify the otherwise "invisible"
annotate value. For Routes < 2, True works just fine. For Routes >= 2, it seems
to expect values that actually can be encoded in URLs.
Thus, instead of True, use '1'.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Nov 2019 01:56:23 +0100 |
parents | 99edd97366e3 |
children | 89e9aef9b983 |
line wrap: on
line source
.. _index: ####################### Kallithea Documentation ####################### * :ref:`genindex` * :ref:`search` Readme ****** .. toctree:: :maxdepth: 1 readme Administrator guide ******************* **Installation and upgrade** .. toctree:: :maxdepth: 1 overview installation installation_win installation_win_old installation_iis installation_puppet upgrade **Setup and configuration** .. toctree:: :maxdepth: 1 setup administrator_guide/auth administrator_guide/vcs_setup usage/email usage/customization **Maintenance** .. toctree:: :maxdepth: 1 usage/backup usage/performance usage/debugging usage/troubleshooting User guide ********** .. toctree:: :maxdepth: 1 usage/general usage/vcs_notes usage/statistics api/api Developer guide *************** .. toctree:: :maxdepth: 1 contributing dev/translation dev/dbmigrations .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _python: http://www.python.org/ .. _django: http://www.djangoproject.com/ .. _mercurial: https://www.mercurial-scm.org/ .. _bitbucket: http://bitbucket.org/ .. _subversion: http://subversion.tigris.org/ .. _git: http://git-scm.com/ .. _celery: http://celeryproject.org/ .. _Sphinx: http://sphinx.pocoo.org/ .. _vcs: http://pypi.python.org/pypi/vcs