
    Dvg                     T    d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 e
fdZdS )    N)urlsplit)settings)ImproperlyConfigured)re_path)servec                     | st          d          t          j        rt          |           j        rg S t          dt          j        |                     d                    z  ||          gS )a$  
    Return a URL pattern for serving files in debug mode.

    from django.conf import settings
    from django.conf.urls.static import static

    urlpatterns = [
        # ... the rest of your URLconf goes here ...
    ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
    z!Empty static prefix not permittedz^%s(?P<path>.*)$/)kwargs)	r   r   DEBUGr   netlocr   reescapelstrip)prefixviewr
   s      T/var/www/pixelcanvas.ch/venv/lib/python3.11/site-packages/django/conf/urls/static.pystaticr   
   sz      "#FGGG^ x//6 	")FMM#,>,>"?"??f	
 	
 	
     )r   urllib.parser   django.confr   django.core.exceptionsr   django.urlsr   django.views.staticr   r    r   r   <module>r      s    				 ! ! ! ! ! !             7 7 7 7 7 7       % % % % % %       r   