##// END OF EJS Templates
Make the model.views dict a dict of promises for views...
Make the model.views dict a dict of promises for views Otherwise, there is a race condition where the model doesn't know about views until they are actually created.

File last commit:

r19148:fe07146a
r19170:cf2889dd
Show More
__init__.py
4 lines | 263 B | text/x-python | PythonLexer
# URI for the CSP Report. Included here to prevent a cyclic dependency.
# csp_report_uri is needed both by the BaseHandler (for setting the report-uri)
# and by the CSPReportHandler (which depends on the BaseHandler).
csp_report_uri = r"/api/security/csp-report"