File: models.py

package info (click to toggle)
django-templated-email 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 200 kB
  • sloc: python: 389; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from uuid import uuid4

from django.db import models


class SavedEmail(models.Model):
    uuid = models.UUIDField(default=uuid4)
    content = models.TextField()
    created = models.DateTimeField(auto_now_add=True)