2011-11-18 21:01:06 +08:00
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
class Event(models.Model):
|
|
|
|
dt = models.DateTimeField()
|
|
|
|
|
2011-11-25 17:25:43 +08:00
|
|
|
class MaybeEvent(models.Model):
|
|
|
|
dt = models.DateTimeField(blank=True, null=True)
|
|
|
|
|
2011-11-18 21:01:06 +08:00
|
|
|
class Timestamp(models.Model):
|
|
|
|
created = models.DateTimeField(auto_now_add=True)
|
|
|
|
updated = models.DateTimeField(auto_now=True)
|