]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Use 'base_manager_name'
authorStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:17:41 +0000 (21:17 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:17:41 +0000 (21:17 +0100)
commit8585ea5afec383c9c5622843bcff0e6c448614c7
tree01b2f558c193883e4c1bd34c0183f253ff8f9d7e
parentc265e0fd9588030ab8bcff1e4f27be941511aca4
models: Use 'base_manager_name'

This raises warnings in Django 1.10 and will be required in Django 1.11.

We also set 'silence_use_for_related_fields_deprecation' to allow us to
retain the current behavior on versions of Django < 1.10.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/models.py