Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/django/conf/urls/__pycache__/ |
Upload File : |
o ���_v � @ sT d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m Z e fdd�ZdS ) � N)�urlsplit)�settings)�ImproperlyConfigured)�re_path)�servec K s@ | st d��tjrt| �jrg S tdt�| �d�� ||d�gS )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 � r �9/usr/lib/python3/dist-packages/django/conf/urls/static.py�static s �r )r �urllib.parser �django.confr �django.core.exceptionsr �django.urlsr �django.views.staticr r r r r r �<module> s