diff options
author | Dusty Phillips <buchuki@gmail.com> | 2009-08-20 16:17:25 -0600 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2009-08-20 16:17:25 -0600 |
commit | 499bb4aca784874db84aa8ddc7e21627249cdb26 (patch) | |
tree | 55743f1780662ba8ec714a02f9a86a80d0099f37 /main/models.py | |
parent | a885c3d9b695a3743cd5c76ddc4708c2987b1020 (diff) |
Add an 'external projects' model and admin for managing the projects page.
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py index 580e1eec..eb16e612 100644 --- a/main/models.py +++ b/main/models.py @@ -306,5 +306,13 @@ class TodolistPkg(models.Model): db_table = 'todolist_pkgs' unique_together = (('list','pkg'),) +class ExternalProject(models.Model): + url = models.URLField() + name = models.CharField(max_length=64) + description = models.CharField(max_length=128) + + def __unicode__(self): + return self.name + # vim: set ts=4 sw=4 et: |