mirror of
https://github.com/Hopiu/django.git
synced 2026-03-28 03:40:23 +00:00
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
11 lines
311 B
Python
11 lines
311 B
Python
from django.db import models
|
|
|
|
class Event(models.Model):
|
|
dt = models.DateTimeField()
|
|
|
|
class MaybeEvent(models.Model):
|
|
dt = models.DateTimeField(blank=True, null=True)
|
|
|
|
class Timestamp(models.Model):
|
|
created = models.DateTimeField(auto_now_add=True)
|
|
updated = models.DateTimeField(auto_now=True)
|