golden hour
/opt/saltstack/salt/lib/python3.10/site-packages/cherrypy/scaffold/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-310.pyc
2.14 KB
Del
OK
Edit: __init__.cpython-310.pyc
o �xe� � @ sj d Z ddlZddlmZmZ ddlZej�e�� ej�e ��Z ejdi ddi��G dd� d��Ze� Z dS ) a� <MyProject>, a CherryPy application. Use this as a base for creating new CherryPy applications. When you want to make a new app, copy and paste this folder to some other location (maybe site-packages) and rename it to the name of your project, then tweak as desired. Even before any tweaking, this should serve a few demonstration pages. Change to this directory and run: cherryd -c site.conf � N)�tools�urlztools.log_tracebacks.onTc @ sX e Zd ZdZejdd� �Zejdd� �Zejdd d ��Ze j jdej �ed�d d�ZdS )�Rootz.Declaration of the CherryPy app URI structure.c C s dt d�t d�t d�f S )z5Render HTML-template at the root path of the web-app.z�<html> <body>Try some <a href='%s?a=7'>other</a> path, or a <a href='%s?n=14'>default</a> path.<br /> Or, just look at the pretty picture:<br /> <img src='%s' /> </body></html>�other�elsez"files/made_with_cherrypy_small.png)r )�self� r �N/opt/saltstack/salt/lib/python3.10/site-packages/cherrypy/scaffold/__init__.py�index s ��z Root.indexc O s d||f S )z!Render catch-all args and kwargs.zargs: %s kwargs: %sr )r �args�kwargsr r r �default% s zRoot.default� �bananasNc C s6 dt jjd<