+
    Tj
                     n    ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	  ! R R]4      t
 ! R R	]
4      tR
# )    )apps)GeometryField)Sitemap)models)reversec                   N   a  ] tR t^t o RtRtR
R ltR tRR ltR t	R t
R	tV tR# )
KMLSitemapz)
A minimal hook to produce KML sitemaps.
kmlNc                2    V P                  V4      V n        R # N)_build_kml_sources	locations)selfr   s   &&T/var/www/idalgo/venv/lib/python3.14/site-packages/django/contrib/gis/sitemaps/kml.py__init__KMLSitemap.__init__   s     00;    c                B   . pVf   \         P                  ! 4       pV F  p\        V\        P                  P
                  4      '       d~   VP                  P                   Fa  p\        V\        4      '       g   K  VP                  VP                  P                  VP                  P                  VP                  34       Kc  	  K  \        V\        \        34      '       d/   \        V4      ^8w  d   \!        R4      hVP                  V4       K  \#        R4      h	  V# )z
Go through the given sources and return a 3-tuple of the application
label, module name, and field name of every GeometryField encountered
in the sources.

If no sources are provided, then all models.
z?Must specify a 3-tuple of (app_label, module_name, field_name).z)KML Sources must be a model or a 3-tuple.)r   
get_models
isinstancer   base	ModelBase_metafieldsr   append	app_label
model_namenamelisttuplelen
ValueError	TypeError)r   sourceskml_sourcessourcefields   &&   r   r   KMLSitemap._build_kml_sources   s     ?oo'GF&&++"7"788#\\00E!%77#** & 6 6 & 7 7 %

 1 FT5M22v;!#$'  ""6* KLL' ( r   c                f    \         P                  ! WW#R7      pV F  pV P                  VR&   K  	  V# )zd
This method is overridden so the appropriate `geo_format` attribute
is placed on each URL element.
)pagesiteprotocol
geo_format)r   get_urlsr-   )r   r*   r+   r,   urlsurls   &&&&  r   r.   KMLSitemap.get_urls5   s3    
 dNC $C r   c                    V P                   # r   r   )r   s   &r   itemsKMLSitemap.items?   s    ~~r   c           
     t    \        R V P                  ,          RV^ ,          RV^,          RV^,          /R7      # )z$django.contrib.gis.sitemaps.views.%slabelmodel
field_name)kwargs)r   r-   )r   objs   &&r   locationKMLSitemap.locationB   s;    2T__DQQc!f
 	
r   r3   r   )   NN)__name__
__module____qualname____firstlineno____doc__r-   r   r   r.   r4   r<   __static_attributes____classdictcell__)__classdict__s   @r   r	   r	      s0      J<
B
 
r   r	   c                       ] tR t^MtRtRtR# )
KMZSitemapkmz N)r?   r@   rA   rB   r-   rD   rJ   r   r   rH   rH   M   s    Jr   rH   N)django.appsr   django.contrib.gis.db.modelsr   django.contrib.sitemapsr   	django.dbr   django.urlsr   r	   rH   rJ   r   r   <module>rP      s/     6 +  B
 B
J r   