Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/django/__pycache__/ |
Upload File : |
o 3�a � @ s� d Z ddlmZmZmZmZ ddlmZ ddlm Z m Z ddlmZ ddd�Z d d �dd�Zd d� Zdd� Zdd� Zdd� ZdS )z� This module collects helper functions and classes that "span" multiple levels of MVC. In other words, these functions/classes introduce controlled coupling for convenience's sake. � )�Http404�HttpResponse�HttpResponsePermanentRedirect�HttpResponseRedirect)�loader)�NoReverseMatch�reverse)�PromiseNc C s t j||| |d�}t|||�S )z� Return a HttpResponse whose content is filled with the result of calling django.template.loader.render_to_string() with the passed arguments. )�using)r �render_to_stringr )�request� template_name�context�content_type�statusr �content� r �2/usr/lib/python3/dist-packages/django/shortcuts.py�render s r F)� permanentc O s&