|
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/staticfiles/management/commands/ |
Upload File : |
�
r�\c @ sZ d d l m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( i����( t make_option( t settings( t Command( t StaticFilesHandlerR c B sf e Z e j e d d d d d d e d d �e d d d d d
d e d d �f Z d Z d
� Z RS( s
--nostatict actiont store_falset destt use_static_handlert defaultt helpsC Tells Django to NOT automatically serve static files at STATIC_URL.s
--insecuret
store_truet insecure_servings3 Allows serving static files even if DEBUG is False.sM Starts a lightweight Web server for development and also serves static files.c O sb t t | � j | | � } | j d t � } | j d t � } | r^ t j sT | r^ t | � S| S( s�
Returns the static files serving handler wrapping the default handler,
if static files should be served. Otherwise just returns the default
handler.
R R ( t superR t get_handlert gett Truet FalseR t DEBUGR ( t selft argst optionst handlerR R ( ( sZ /tmp/pip-install-XxeQeY/django/django/contrib/staticfiles/management/commands/runserver.pyR
s
( t __name__t
__module__t RunserverCommandt option_listR R R R R
( ( ( sZ /tmp/pip-install-XxeQeY/django/django/contrib/staticfiles/management/commands/runserver.pyR s
N( t optparseR t django.confR t) django.core.management.commands.runserverR R t# django.contrib.staticfiles.handlersR ( ( ( sZ /tmp/pip-install-XxeQeY/django/django/contrib/staticfiles/management/commands/runserver.pyt <module> s