jumpserver/apps/assets/models/asset/web.py

13 lines
503 B
Python
Raw Normal View History

2022-08-24 08:14:32 +00:00
from django.utils.translation import gettext_lazy as _
from django.db import models
from .common import Asset
class Web(Asset):
url = models.CharField(max_length=1024, verbose_name=_("url"))
2022-09-09 11:17:25 +00:00
autofill = models.CharField(max_length=16, default='basic')
username_selector = models.CharField(max_length=128, blank=True, default='')
password_selector = models.CharField(max_length=128, blank=True, default='')
submit_selector = models.CharField(max_length=128, blank=True, default='')