| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django_uwsgi/emperor/__pycache__/ |
Upload File : |
�
��D`] � �� � d dl Z d dlmZ d dlmZ d dlmZmZ d dl m
Z
d ed� � fd ed � � fd
ed� � fd ed
� � ffZe
G d� dej � � � � Z
dS )� N)�models)�
ugettext_lazy)�get_valid_filename�slugify)�python_2_unicode_compatiblez.inizINI filez.ymlz YAML filez.xmlzXML filez.jsonz JSON filec �� � � e Zd ZdZ ej ed� � d�� � Z ej ed� � ed� � ddd �
� � Z ej ed� � de d
e �� � Z
ej ed� � ed� � d�� � Z ej
ed� � ed� � dd �� � Z ej ed� � ed� � ddd�� � Z ej ed� � ed� � ddd�� � Z ej ed� � d�� � Z ej ed � � ddd�!� � Z ej ed"� � d�#� � Zd$� Z� fd%�Z G d&� d'� � Z� xZS )(�Vassalz!
Model for uWSGI Vassals
�Name� )�
max_length�FilenamezName of uwsgi config file� �nameF)� help_textr � db_column�editable� Extension� r )r �default�choices�ConfigzConfig file blob�config)r r zUnix TimestampzFA number representing the modification time of this row in UNIX format�ts)r r r zThe UID of the vassal instancez>Required in Tyrant mode (secure multi-user hosting) mode only.�uidT)r r �blank�nullzThe GID of the vassal instance�gidz
Created at)�auto_now_add�Updated)�auto_nowr r �Enabled)r c � � | j S �N)�title)�selfs �=/usr/lib/python3/dist-packages/django_uwsgi/emperor/models.py�__str__zVassal.__str__O s
� ��z�� c �� �� t t | j � � | j z � � | _ t j � � | _ t t | � � j |i |�� d S r# )
r r r$ � extensionr �timer �superr �save)r% �args�kwargs� __class__s �r&