Allow BasicAPIEncoder specialization
Review Request #7849 — Created Jan. 7, 2016 and discarded
Subclasses of the
BasicAPIEncodernow can specify the JSON encoder
that is to be used. This defaults to theDjbletsJSONEncoder.
Used this with https://reviews.reviewboard.org/r/7822/.
| Description | From | Last Updated |
|---|---|---|
|
Let's call this json_encoder_cls, and mention that in the doc, just so it's very clear. |
|
Tool: Pyflakes Processed Files: djblets/util/serializers.py djblets/webapi/encoders.py Tool: PEP8 Style Checker Processed Files: djblets/util/serializers.py djblets/webapi/encoders.py