File size: 473 Bytes
b4f2238 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | """Models for image rotation tools."""
from __future__ import annotations
from django.db import models
from django.utils.translation import gettext_lazy as _
class ImageRotationTool(models.Model):
"""Admin entry model for image rotation."""
id: int
name = models.CharField(max_length=64, default="Image Rotation")
class Meta:
managed = False
verbose_name = _("图片自动旋转")
verbose_name_plural = _("图片自动旋转")
|