Mercurial > agora
view apps/free_license/models.py @ 3:9a4429652662
Define models
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Fri, 25 Jun 2010 11:33:21 -0500 |
parents | 3cef0d445036 |
children | 069cabdaf8b2 |
line wrap: on
line source
from django.db import models class Free_license(models.Model): name = models.CharField(max_length=256) description = models.TextField() text = models.TextField() gpl_compatible = models.BooleanField() def __unicode__(self): return self.name