I've opened ticked [1]21051 and PR [2]1554

This would help with ticket [2]#15381 that asks for the ability to
tweak domain and expires of the language cookie By allowing to provide
that kind of configurability without introducing more top-level
settings and some other similar efforts.

Alternatively, the dictionary keys could be replaced with lowercased
versions that mimic the names of the stdlib [4]Morsel object
atributes. I can implement this change if necessary.

One slightly topic is the one of the deprecation warnings shown to the
developer. The strategy implemented currently in the PR is to show
PendingDeprecationWarnings when one of the old settings is used in a
settings file. There is the possibility to also shown them when the
old settings are accessed (coomented out implementation
BaseSettings.__getattribute__ method code and a test case) but I
deemed it potentially too noisy.

PR includes tests and docs changes. Any feedback is welcome.

Regards,

1. https://code.djangoproject.com/ticket/21051
2. https://github.com/django/django/pull/1554
3. https://code.djangoproject.com/ticket/15318
4. http://docs.python.org/2/library/cookie.html#morsel-objects

-- 
Ramiro Morales
@ramiromorales

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to