The discussion on the ticket explains the current situation - in
particular, comment 11 from Jacob:
http://code.djangoproject.com/ticket/3304#comment:11
Yours,
Russ Magee %-)
Hmm, the comment is out of date since there's now a newer patch that does
not require ugly hacks. On the backside, it means that the http-only
settings is only effective with python2.6.
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourcing Company
Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk -
Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689
> A patch that only works on Python 2.6 will, unequivocally, not be accepted.
> Django maintains identaical levels of functionality from Python 2.3 to 2.6.
Nah, the patch works with 2.3 to 2.6. But the "http-only" flag will be set
only with python2.6 since the older versions don't support that flag. For
2.3-2.5, the flag is therefore ignored.
> No, as I've stated Django *never* degrades functionality due to Python
> version.
> This would be a massive aberration from that policy. This is
> clearly stated in the documentation for users:
> http://docs.djangoproject.com/en/dev/faq/install/#do-i-lose-anything-by-using-python-2-3-versus-newer-python-versions-such-as-python-2-5
No, it says that the Django *core* does not degrade.
Well, session is part of contrib, not of the core. Other contrib.gis
requires 2.4. And it's not that it loses functionality, it just does not
activate a particular precaution that is not available with earlier python
versions. Nevertheless, it's surely better if we can support 'http-only'
also for older python versions. I see only one way to achieve this:
Include the 2.6 version of the cookie library with django and load
that for python 2.3-2.5
I think django already does this for a different library.
Is that the way to go?