mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 16:07:38 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			338 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			338 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "!layout.html" %}
 | |
| 
 | |
| {%- if not embedded and docstitle %}
 | |
|   {%- set titleprefix = docstitle|e + " - "|safe %}
 | |
| {%- else %}
 | |
|   {%- set titleprefix = "" %}
 | |
| {%- endif %}
 | |
| 
 | |
| {% block htmltitle %}<title>{% if pagename == 'index' %}Django REST framework{% else %}{{ titleprefix }}{{ title|striptags|e }}{% endif %}</title>{% endblock %}
 | |
| 
 | |
| 
 |