Skip to content

Commit

Permalink
Sir sigurd patch 1 (django-cms#1192)
Browse files Browse the repository at this point in the history
* Inherit Folder from MPTTModel instead of using mptt.register().

The preferred way to do model registration is via model inheritance and `mptt.AlreadyRegistered` is deprecated since django-mptt 0.4

https://django-mptt.readthedocs.io/en/latest/upgrade.html?highlight=mptt.register#use-model-inheritance-where-possible

* changed module import

* add message for django-cms#1068

Co-authored-by: Sergey Fedoseev <[email protected]>
  • Loading branch information
jrief and sir-sigurd authored May 4, 2020
1 parent d1f6ab0 commit d45a9a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
CHANGELOG
=========

Next Version
============

* Changed the preferred way to do model registration via model inheritance
and ``mptt.AlreadyRegistered``, which is deprecated since django-mptt 0.4


1.7.1 (2020-04-29)
==================

Expand Down

0 comments on commit d45a9a2

Please sign in to comment.