fc / apps /image_rotation /models.py
jun2024's picture
Upload 2241 files
b4f2238 verified
Raw History Blame Contribute Delete
473 Bytes
"""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 = _("图片自动旋转")