|
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 : /lib64/python2.7/site-packages/django/contrib/sitemaps/ |
Upload File : |
�
r�\c @ s� d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m
Z
d Z d e f d � � YZ
d e d � Z d
e f d � � YZ d e f d
� � YZ d e f d � � YZ d S( i����( t Site( t urlresolverst paginator( t ImproperlyConfigured( t urlencode( t urlopens+ http://www.google.com/webmasters/tools/pingt SitemapNotFoundc B s e Z RS( ( t __name__t
__module__( ( ( sB /tmp/pip-install-XxeQeY/django/django/contrib/sitemaps/__init__.pyR s c C s� | d k rc y t j d � } Wqc t j k
r_ y t j d � } Wq` t j k
r[ q` Xqc Xn | d k r~ t d � � n d d l m } | j j � } d | j | f } t
i | d 6� } t d | | f � d S(
s4
Alerts Google that the sitemap for the current site has been updated.
If sitemap_url is provided, it should be an absolute path to the sitemap
for this site -- e.g., '/sitemap.xml'. If sitemap_url is not provided, this
function will attempt to deduce it by using urlresolvers.reverse().
s# django.contrib.sitemaps.views.indexs% django.contrib.sitemaps.views.sitemapsP You didn't provide a sitemap_url, and the sitemap URL couldn't be auto-detected.i����( R s http://%s%st sitemaps %s?%sN( t NoneR t reverset NoReverseMatchR t django.contrib.sites.modelsR t objectst get_currentt domainR R ( t sitemap_urlt ping_urlR t current_sitet urlt params( ( sB /tmp/pip-install-XxeQeY/django/django/contrib/sitemaps/__init__.pyt ping_google s t Sitemapc B sY e Z d Z d Z d d � Z d � Z d � Z d � Z e e � Z
d d d d � Z RS( iP� c C sB y t | | � } Wn t k
r'