https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/contrib/gis/sitemaps/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/contrib/gis/sitemaps/georss.pyc
�
r�\c@s:ddlmZddlmZdefd��YZdS(i����(turlresolvers(tSitemapt
GeoRSSSitemapcBs;eZdZdd�Zddd�Zd�Zd�ZRS(s>
    A minimal hook to produce sitemaps for GeoRSS feeds.
    cCs�||_g|_|dkr'i}nxh|j�D]Z}|j|t�r~x?||D] }|jjd||f�qWWq4|jj|�q4WdS(s�
        This sitemap object initializes on a feed dictionary (as would be passed
        to `django.contrib.gis.views.feed`) and a slug dictionary.
        If the slug dictionary is not defined, then it's assumed the keys provide
        the URL parameter to the feed.  However, if you have a complex feed (e.g.,
        you override `get_object`, then you'll need to provide a slug dictionary.
        The slug dictionary should have the same keys as the feed dictionary, but
        each value in the slug dictionary should be a sequence of slugs that may
        be used for valid feeds.  For example, let's say we have a feed that
        returns objects for a specific ZIP code in our feed dictionary:

            feed_dict = {'zipcode' : ZipFeed}

        Then we would use a slug dictionary with a list of the zip code slugs
        corresponding to feeds you want listed in the sitemap:

            slug_dict = {'zipcode' : ['77002', '77054']}
        s%s/%sN(t	feed_dictt	locationstNonetkeystgettFalsetappend(tselfRt	slug_dicttsectiontslug((sD/tmp/pip-install-XxeQeY/django/django/contrib/gis/sitemaps/georss.pyt__init__s			!icCs:tj|d|d|�}x|D]}d|d<q"W|S(s}
        This method is overrridden so the appropriate `geo_format` attribute
        is placed on each URL element.
        tpagetsitetgeorsst
geo_format(Rtget_urls(R
RRturlsturl((sD/tmp/pip-install-XxeQeY/django/django/contrib/gis/sitemaps/georss.pyR's
cCs|jS(N(R(R
((sD/tmp/pip-install-XxeQeY/django/django/contrib/gis/sitemaps/georss.pytitems0scCstjdd|f�S(Nsdjango.contrib.gis.views.feedtargs(Rtreverse(R
tobj((sD/tmp/pip-install-XxeQeY/django/django/contrib/gis/sitemaps/georss.pytlocation3sN(t__name__t
__module__t__doc__RRRRR(((sD/tmp/pip-install-XxeQeY/django/django/contrib/gis/sitemaps/georss.pyRs
		N(tdjango.coreRtdjango.contrib.sitemapsRR(((sD/tmp/pip-install-XxeQeY/django/django/contrib/gis/sitemaps/georss.pyt<module>s

https://t.me/AnonymousX5 - 2025