Web stuff is once again working with the development server. This is mostly useful for the admin interface.

This commit is contained in:
Greg Taylor 2008-12-15 04:43:48 +00:00
parent 5249f27074
commit 714804e253
7 changed files with 12 additions and 10 deletions

View file

@ -8,7 +8,9 @@ class NewsTopic(models.Model):
"""
name = models.CharField(max_length=75, unique=True)
description = models.TextField(blank=True)
icon = models.ImageField(upload_to='newstopic_icons', default='newstopic_icons/default.png', blank=True, help_text="Image for the news topic.")
icon = models.ImageField(upload_to='newstopic_icons',
default='newstopic_icons/default.png',
blank=True, help_text="Image for the news topic.")
def __str__(self):
try: