|
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/conf/urls/ |
Upload File : |
�
r�\c @ sR d d l Z d d l m Z d d l m Z m Z d d l m Z d d � Z d S( i����N( t settings( t patternst url( t ImproperlyConfigureds django.views.static.servec K sg t j s | r d | k r g S| s5 t d � � n t d t d t j | j d � � | d | �� S( sC
Helper function to return a URL pattern for serving files in debug mode.
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = patterns('',
# ... the rest of your URLconf goes here ...
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
s ://s! Empty static prefix not permittedt s ^%s(?P<path>.*)$t /t kwargs( R t DEBUGR R R t ret escapet lstrip( t prefixt viewR ( ( s9 /tmp/pip-install-XxeQeY/django/django/conf/urls/static.pyt static s
( R t django.confR t django.conf.urlsR R t django.core.exceptionsR R
( ( ( s9 /tmp/pip-install-XxeQeY/django/django/conf/urls/static.pyt <module> s