mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[3.1.x] Updated docutils link to HTTPS and new location.
Backport of 7070d46114 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Claude Paroz
						Claude Paroz
					
				
			
			
				
	
			
			
			
						parent
						
							5480fab290
						
					
				
				
					commit
					3f977c5837
				
			| @@ -14,9 +14,9 @@ | |||||||
| <h1>{% translate 'Documentation' %}</h1> | <h1>{% translate 'Documentation' %}</h1> | ||||||
|  |  | ||||||
| <div id="content-main"> | <div id="content-main"> | ||||||
|   <h3>{% blocktranslate with "http://docutils.sf.net/" as link %}The admin documentation system requires Python's <a href="{{ link }}">docutils</a> library.{% endblocktranslate %}</h3> |   <h3>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Python's <a href="{{ link }}">docutils</a> library.{% endblocktranslate %}</h3> | ||||||
|  |  | ||||||
|   <p>{% blocktranslate with "http://docutils.sf.net/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p> |   <p>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
| {% endblock %} | {% endblock %} | ||||||
|   | |||||||
| @@ -114,7 +114,10 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase): | |||||||
|             self.assertContains( |             self.assertContains( | ||||||
|                 response, |                 response, | ||||||
|                 '<h3>The admin documentation system requires Python\'s ' |                 '<h3>The admin documentation system requires Python\'s ' | ||||||
|                 '<a href="http://docutils.sf.net/">docutils</a> library.</h3>', |                 '<a href="https://docutils.sourceforge.io/">docutils</a> ' | ||||||
|  |                 'library.</h3>' | ||||||
|  |                 '<p>Please ask your administrators to install ' | ||||||
|  |                 '<a href="https://docutils.sourceforge.io/">docutils</a>.</p>', | ||||||
|                 html=True |                 html=True | ||||||
|             ) |             ) | ||||||
|             self.assertContains(response, '<h1 id="site-name"><a href="/admin/">Django administration</a></h1>') |             self.assertContains(response, '<h1 id="site-name"><a href="/admin/">Django administration</a></h1>') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user