Skip to content

vhelke/django-cas-crash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Template rendering crash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published