Tagged “django”

  1. Django 3.1 gotcha: Referrer Policy has a new default, and it might break iframes and links

    In Django 3.1 the project updated the default 'referrer-policy' to be 'same-origin', which might lead to unexpected results in your project.

  2. Creating a Canonical Tag in a Django Template

    A quick tip on adding a canonical tag within Django templates, and why.

  3. Django Templates: Block and If statements don’t work like you might expect

    Django templates may not respect if statements around block usage the way you expect. I found that out the hard way.