File: Fix-asset-names-to-match-symlinks-to-packaged-files.patch

package info (click to toggle)
djangorestframework 3.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 18,352 kB
  • sloc: javascript: 31,965; python: 29,382; makefile: 35; sh: 6
file content (82 lines) | stat: -rw-r--r-- 4,688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sat, 4 Jul 2020 23:11:03 +0200
Subject: Fix asset names to match symlinks to packaged files.

Forwarded: not-needed
---
 rest_framework/templates/rest_framework/admin.html      | 4 ++--
 rest_framework/templates/rest_framework/base.html       | 4 ++--
 rest_framework/templates/rest_framework/docs/error.html | 2 +-
 rest_framework/templates/rest_framework/docs/index.html | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/rest_framework/templates/rest_framework/admin.html b/rest_framework/templates/rest_framework/admin.html
index a5edf52..ddcc1a6 100644
--- a/rest_framework/templates/rest_framework/admin.html
+++ b/rest_framework/templates/rest_framework/admin.html
@@ -250,11 +250,11 @@
             "csrfToken": "{{ csrf_token }}"
           }
         </script>
-        <script src="{% static "rest_framework/js/jquery-3.7.1.min.js" %}"></script>
+        <script src="{% static "rest_framework/js/jquery.min.js" %}"></script>
         <script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
         <script src="{% static "rest_framework/js/csrf.js" %}"></script>
         <script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
-        <script src="{% static "rest_framework/js/prettify-min.js" %}"></script>
+        <script src="{% static "rest_framework/js/prettify.js" %}"></script>
         <script src="{% static "rest_framework/js/default.js" %}"></script>
         <script src="{% static "rest_framework/js/load-ajax-form.js" %}"></script>
       {% endblock %}
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 7f16482..bd374e0 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -293,11 +293,11 @@
           "csrfToken": "{% if request %}{{ csrf_token }}{% endif %}"
         }
       </script>
-      <script src="{% static "rest_framework/js/jquery-3.7.1.min.js" %}"></script>
+      <script src="{% static "rest_framework/js/jquery.min.js" %}"></script>
       <script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
       <script src="{% static "rest_framework/js/csrf.js" %}"></script>
       <script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
-      <script src="{% static "rest_framework/js/prettify-min.js" %}"></script>
+      <script src="{% static "rest_framework/js/prettify.js" %}"></script>
       <script src="{% static "rest_framework/js/default.js" %}"></script>
       <script src="{% static "rest_framework/js/load-ajax-form.js" %}"></script>
     {% endblock %}
diff --git a/rest_framework/templates/rest_framework/docs/error.html b/rest_framework/templates/rest_framework/docs/error.html
index 91c8a34..2c9261f 100644
--- a/rest_framework/templates/rest_framework/docs/error.html
+++ b/rest_framework/templates/rest_framework/docs/error.html
@@ -66,6 +66,6 @@ at <code>rest_framework/docs/error.html</code>.</p>
 
 
 
-        <script src="{% static 'rest_framework/js/jquery-3.7.1.min.js' %}"></script>
+        <script src="{% static 'rest_framework/js/jquery.min.js' %}"></script>
     </body>
 </html>
diff --git a/rest_framework/templates/rest_framework/docs/index.html b/rest_framework/templates/rest_framework/docs/index.html
index 7fd07f7..0dac10e 100644
--- a/rest_framework/templates/rest_framework/docs/index.html
+++ b/rest_framework/templates/rest_framework/docs/index.html
@@ -10,7 +10,7 @@
 
         <link href="{% static 'rest_framework/css/bootstrap.min.css' %}" rel="stylesheet">
         <link href="{% static 'rest_framework/css/bootstrap-theme.min.css' %}" rel="stylesheet">
-        <link href="{% static 'rest_framework/css/font-awesome-4.0.3.css' %}" rel="stylesheet">
+        <link href="{% static 'rest_framework/css/font-awesome.min.css' %}" rel="stylesheet">
         <link href="{% static 'rest_framework/docs/css/base.css' %}" rel="stylesheet">
         <link href="{% static 'rest_framework/docs/css/jquery.json-view.min.css' %}" rel="stylesheet">
 
@@ -38,7 +38,7 @@
         {% include "rest_framework/docs/auth/basic.html" %}
         {% include "rest_framework/docs/auth/session.html" %}
 
-        <script src="{% static 'rest_framework/js/jquery-3.7.1.min.js' %}"></script>
+        <script src="{% static 'rest_framework/js/jquery.min.js' %}"></script>
         <script src="{% static 'rest_framework/js/bootstrap.min.js' %}"></script>
         <script src="{% static 'rest_framework/docs/js/jquery.json-view.min.js' %}"></script>
         <script src="{% static 'rest_framework/docs/js/api.js' %}"></script>