view apps/free_license/models.py @ 29:6ba969517b9c

Implement initial profiles, cleanup models, change Free_license to FreeLicense
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Wed, 30 Jun 2010 00:04:34 -0500
parents 069cabdaf8b2
children 8ef0a2a03034
line wrap: on
line source

from django.db import models

class FreeLicense(models.Model):
    name = models.CharField(max_length=256)
    description = models.TextField()
    text = models.TextField()
    gpl_compatible = models.BooleanField()
    def __unicode__(self):
        return self.name