From 499bb4aca784874db84aa8ddc7e21627249cdb26 Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Thu, 20 Aug 2009 16:17:25 -0600 Subject: Add an 'external projects' model and admin for managing the projects page. --- main/models.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main/models.py') diff --git a/main/models.py b/main/models.py index 580e1ee..eb16e61 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: -- cgit v1.2.3-24-g4f1b