File: local.py

package info (click to toggle)
python-django-analytical 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 720 kB
  • sloc: python: 4,693; makefile: 7
file content (21 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def setup(app):
    app.add_crossref_type(
        directivename='setting',
        rolename='setting',
        indextemplate='pair: %s; setting',
    )
    app.add_crossref_type(
        directivename='templatetag',
        rolename='ttag',
        indextemplate='pair: %s; template tag',
    )
    app.add_crossref_type(
        directivename='templatefilter',
        rolename='tfilter',
        indextemplate='pair: %s; template filter',
    )
    app.add_crossref_type(
        directivename='fieldlookup',
        rolename='lookup',
        indextemplate='pair: %s; field lookup type',
    )