Commit Graph

6 Commits

Author SHA1 Message Date
Lauréline Guérin ccf99d908f
dj2: is_anonymous and is_authenticated are now properties (#36895)
remove RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is deprecated.
Remove the parentheses to use it as an attribute.
2019-10-29 08:35:46 +01:00
Frédéric Péters 6b7d5938fc utils: flatten context passed to get_templated_url (#33393) 2019-05-27 10:00:40 +02:00
Frédéric Péters b5a8e0cda4 misc: monkeypatch user model with a method to get name id (#30723) 2019-03-04 13:42:56 +01:00
Frédéric Péters ccd3cd19d7 misc: disable l10n by default in templated URLs (#25695) 2018-08-16 09:33:11 +02:00
Frédéric Péters 67931d2d78 add compatibility with python 3 (#25486) 2018-07-28 09:55:59 +02:00
Frédéric Péters 71db20a5e4 misc: split utils in specific modules (#21165) 2018-01-16 09:09:44 +01:00