3. Test Page¶
The testpage is a convenience page for testing templates and designs.
3.1. Usage¶
When Cantemo is set to a development system, the test page is located at:
The template should be populated as you need, but should be left blank on a production site. Set the follow to true in``portal.conf`` to for the URL to be made available:
[debug]
DEVELOPMENT_SYSTEM: true
A production site should always have ``DEVELOPMENT_SYSTEM`` set to false.
3.2. Context¶
The template has access to the standard RequestContext variables. i.e.:
{{ STATIC_URL }}
3.3. Template¶
The template for test should be located in the root of the themes directory here:
/portal_themes/website/test.html
You can remove the template if you so wish.