Commit Graph

4 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
Lauréline Guérin 49830fc9c5
dj2: add explicit on_delete on all ForeignKey (#36895)
remove RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to
maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/
fields/#django.db.models.ForeignKey.on_delete
2019-10-29 08:35:21 +01:00
Frédéric Péters 7e30175d7d dashboard: allow negative tile order (#21005) 2018-01-05 09:49:36 +01:00
Frédéric Péters cc84f3c5be general: add initial support for custom user dashboards (#15043) 2017-05-23 14:38:15 +02:00