Web stuff is once again working with the development server. This is mostly useful for the admin interface.
This commit is contained in:
parent
5249f27074
commit
714804e253
7 changed files with 12 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue