Source

django-wsgiserver / tests / testdjangoproject / templates / hello.html

<html>
  <head>
    <title>django-wsgiserver</title>
  </head>
  <body><h2>hello django-wsgiserver</h2>
 
    <h3>Tests</h3>
    <ul>
      <li> <a href="/admin/">Check the default admin css media service</a></li>
      </ul>

{% if 1 %}
      <h4> if static file serving enabled </h4>
      <ul>
      <li> <a href="/static/textfile.txt">/static/textfile.txt </a></li>
      <li> <a href="/static/htmlfile.html">/static/htmlfile.txt </a></li>
      <li> <a href="/static/static2/textfile2.txt"> from static2/textfile2.txt mapped back to static </a></li>
      <li> <a href="/static/static2/substatic2/sub_textfile.txt"> static2/substatic2/sub_textfile.txt </a></li>

      <li> <a href="/static/../settings.py"> /static/../settings.py security test</a> should not return the settings.py file! (either forbidden or remap to another url)</li>

      {% else %}
      <li> Staticfiles are not being used </li>
{% endif %}
    </ul>
</body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.