1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Thu, 9 Sep 2021 20:46:12 +0200
Subject: Fix RST syntax to short underline
Forwarded: not-needed
---
docs/modeltranslation/caveats.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/docs/modeltranslation/caveats.rst
+++ b/docs/modeltranslation/caveats.rst
@@ -63,7 +63,7 @@
TypeError: 'text_es' is an invalid keyword argument for this function
Using in combination with ``django-rest-framework``
--------------------------------------------------
+---------------------------------------------------
When creating a new viewset , make sure to override ``get_queryset`` method, using ``queryset`` as a property won't work because it is being evaluated once, before any language was set.
.. _documentation: https://django-audit-log.readthedocs.io/
|