Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(2)  |  Import(1)

src/d/j/django-temporal-models-HEAD/example/app/models.py   django-temporal-models(Download)
from temporal.models import models, TemporalForeignKey, TemporalModel, TemporalTrail
 
class Person(TemporalModel):
    first_name = models.CharField(max_length=255)
    last_name = models.CharField(max_length=255)
class Organization(TemporalModel):
    name = models.CharField(max_length=255)
 
    history = TemporalTrail()