Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.14 KB

This fault described here is Python 3.7.0 related. The bug has been already fixed in latest 3.7 branch. I am keeping this repo here for a while so that others can test this fault if they are interested. More info: https://bugs.python.org/issue34241


Django template rendering crash

Prerequisites

  • Install Python 3.7.0
  • Install virtualenv
  • Clone this repo
  • Install pypi-packages: $ pip install -r requirements.txt

How to verify the site starts up

$ cd mysite
$ python manage.py runserver &

Open your web browser and go to http://localhost:8000 You should see "Log in" in the top-right corner. Click that.

If you see "POLLS - Log in" page, everything works so far.

Next, add one letter "i" on line 71 in this file: templates/rest_framework/login_base.html

{% trans "Kirjaudu sisään käyttäen Opintopolun tunnuks." %}

becomes

{% trans "Kirjaudu sisään käyttäen Opintopolun tunnuksi." %}

Refresh your web browser, and it should crash: Segmentation fault (core dumped) python manage.py runserver