view apps/free_license/models.py @ 4:069cabdaf8b2

Define stub template and admin site
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Fri, 25 Jun 2010 14:04:30 -0500
parents 9a4429652662
children 6ba969517b9c
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