This PR adds documentation for the FlaggedViewMixin and FlaggedTemplateView classes that provide options for flagging class-based views.
It also deprecates the condition attribute on FlaggedViewMixin. The term "condition" has come to mean the thing that evaluates the state of the flag, rather than the expected evaluation. Using condition will not warn about its deprecation and recommend using state instead. This is now consistent with the use of the terms condition and state elsewhere in the Django-Flags API.
It also changes all our links to the Django 2.x docs to upcoming LTS release 2.2.
This PR adds documentation for the
FlaggedViewMixin
andFlaggedTemplateView
classes that provide options for flagging class-based views.It also deprecates the
condition
attribute onFlaggedViewMixin
. The term "condition" has come to mean the thing that evaluates the state of the flag, rather than the expected evaluation. Usingcondition
will not warn about its deprecation and recommend usingstate
instead. This is now consistent with the use of the termscondition
andstate
elsewhere in the Django-Flags API.It also changes all our links to the Django 2.x docs to upcoming LTS release 2.2.
This PR will close #29.