comparison gpp/legal/models.py @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 """models for the legal module"""
2
3 from django.db import models
4
5 class Policy(models.Model):
6 policy_type = models.SlugField(help_text = 'A slug for database lookups')
7 title = models.CharField(max_length = 64)
8 text = models.TextField()
9 revised_date = models.DateField()
10
11 def __unicode__(self):
12 return self.title
13
14 class Meta:
15 verbose_name_plural = 'Policies'