File: Fix-RST-syntax-to-short-underline.patch

package info (click to toggle)
django-modeltranslation 0.19.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 992 kB
  • sloc: python: 5,820; javascript: 432; makefile: 154
file content (22 lines) | stat: -rw-r--r-- 998 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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(-)

diff --git a/docs/modeltranslation/caveats.rst b/docs/modeltranslation/caveats.rst
index fb8a787..3f0a682 100644
--- a/docs/modeltranslation/caveats.rst
+++ b/docs/modeltranslation/caveats.rst
@@ -63,7 +63,7 @@ If you forget to register the shadow models, you will get an error like:
     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.
 
 Translating ``ManyToManyField`` fields