fnp
/
edumed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
don't overrwrite files from different lessons
[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