o
    
h                     @   s&   d dl mZ d dlmZ dddZdS )    )Http404)gettextNc                 C   s   |st td|dd }z|| }W n ty$   t td| w | }t|ddp0| j|_|jp8d| |_|jp@d| |_|| S )	z%Provided for backwards compatibility.zNo feeds are registered./r   u   Slug %r isn’t registered.feed_urlNzfeeds/%s_title.htmlzfeeds/%s_description.html)	r   _	partitionKeyErrorgetattrpathr   title_templatedescription_template)requesturl	feed_dictslugfinstance r   Z/var/www/html/optinet_system/venv/lib/python3.10/site-packages/django/contrib/gis/views.pyfeed   s   r   )N)django.httpr   django.utils.translationr   r   r   r   r   r   r   <module>   s    