mozilla / django-browserid

Django application for adding BrowserID support.
Mozilla Public License 2.0
180 stars 80 forks source link

Fix #291: Add Django 1.9 support and test against the beta. #292

Closed Osmose closed 8 years ago

Osmose commented 8 years ago

291 mentions that same_origin doesn't exist in Django 1.9; it was replaced by is_same_domain, which is not what we used same_origin for. So I replicated the function in our utils. There was also a small issue where extra cache headers were added by the no-cache decorator, so I just altered our test to check for the minimum that we expect from the cache headers.

I also added 1.9b1 to the tox/travis tests. Once 1.9 is out we can update to test against the released version and cut a new bugfix release.

@peterbe r?

peterbe commented 8 years ago

r+ but I'm curious about what else is possibly in the Cache-Control header.