diff options
author | David Lord <davidism@gmail.com> | 2021-11-08 08:07:29 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-11-08 08:07:29 -0800 |
commit | 5308c9588d50d49b18885a8864915d728477a433 (patch) | |
tree | b609b327c64e2fcee7e958eb929c455d29bc0a73 /docs | |
parent | 5e2385ca0cdcaf7c3a0e675e9c3ba7c329b00099 (diff) | |
download | jinja2-5308c9588d50d49b18885a8864915d728477a433.tar.gz |
drop Python 3.6
Diffstat (limited to 'docs')
-rw-r--r-- | docs/faq.rst | 20 | ||||
-rw-r--r-- | docs/intro.rst | 2 |
2 files changed, 1 insertions, 21 deletions
diff --git a/docs/faq.rst b/docs/faq.rst index dd78217..8584d77 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -125,26 +125,6 @@ instead that one can assign to a variable by using set:: {% set comments = get_latest_comments() %} -My tracebacks look weird. What's happening? -------------------------------------------- - -Jinja can rewrite tracebacks so they show the template lines numbers and -source rather than the underlying compiled code, but this requires -special Python support. CPython <3.7 requires ``ctypes``, and PyPy -requires transparent proxy support. - -If you are using Google App Engine, ``ctypes`` is not available. You can -make it available in development, but not in production. - -.. code-block:: python - - import os - if os.environ.get('SERVER_SOFTWARE', '').startswith('Dev'): - from google.appengine.tools.devappserver2.python import sandbox - sandbox._WHITE_LIST_C_MODULES += ['_ctypes', 'gestalt'] - -Credit for this snippet goes to `Thomas Johansson -<https://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434>`_ My Macros are overridden by something ------------------------------------- diff --git a/docs/intro.rst b/docs/intro.rst index 9eeaa05..fd6f84f 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -30,7 +30,7 @@ Installation ------------ We recommend using the latest version of Python. Jinja supports Python -3.6 and newer. We also recommend using a `virtual environment`_ in order +3.7 and newer. We also recommend using a `virtual environment`_ in order to isolate your project dependencies from other projects and the system. .. _virtual environment: https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments |