no Nones in exam form
[edumed.git] / publishers / models.py
1 # -*- coding: utf-8 -*-
2 from django.db import models
3
4
5 class Publisher(models.Model):
6     name = models.CharField(max_length=255)
7     logo = models.ImageField(upload_to='publishers/logo')
8
9     def __unicode__(self):
10         return self.name