Blog Environment Upgrade

 April 21, 2017     0 comments

Previously, this blog run on Django 1.8 and Python 3.4, but after a new Django LTS release — 1.11 — I decided that it's time to upgrade this blog to the new Django version and to bump Python version as well. The upgrade process was simple: I created a new virtual environment, installed all the dependencies and pointed Pythonanywhere to this new environment. The blog itself required only one minor change of the sitemap view because URL patterns no longer accept view names as strings, e.g. 'django.contrib.sitemaps.views.sitemap', but require proper callable view objects (previously, both variants were supported).

Now this blog runs on Django 1.11 and Python 3.5 (Pythonanywhere does not provide Python 3.6 yet).

  DjangoPython