Content Management/Models: Difference between revisions
Jump to navigation
Jump to search
(New page: <code>from django.db import models class Content(models.Model): title = models.CharField(max_length=200) path = models.CharField(max_length=256) date = models.DateTimeField('date added...) |
No edit summary |
||
Line 1: | Line 1: | ||
<code> |
|||
from django.db import models |
|||
class Content(models.Model): |
class Content(models.Model): |
||
title = models.CharField(max_length=200) |
title = models.CharField(max_length=200) |
||
path = models.CharField(max_length=256) |
path = models.CharField(max_length=256) |
||
date = models.DateTimeField('date added') |
date = models.DateTimeField('date added') |
||
</code> |
Revision as of 21:36, 19 October 2007
from django.db import models
class Content(models.Model):
title = models.CharField(max_length=200)
path = models.CharField(max_length=256)
date = models.DateTimeField('date added')