mirror of
https://github.com/django/django.git
synced 2024-12-27 19:46:22 +00:00
899ca54fe2
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
8 lines
193 B
Python
8 lines
193 B
Python
from django.db import models
|
|
|
|
class Entry(models.Model):
|
|
title = models.CharField(max_length=200)
|
|
date = models.DateTimeField()
|
|
|
|
def __unicode__(self):
|
|
return self.title |