add __unicode__
This commit is contained in:
parent
ae36baf8ae
commit
3447bd40e2
2 changed files with 10 additions and 0 deletions
|
|
@ -292,6 +292,7 @@ class Item(models.Model):
|
|||
if local_posters:
|
||||
posters['local'] = []
|
||||
for p in local_posters:
|
||||
#FIXME: media_url is no longer public
|
||||
url = p.replace(settings.MEDIA_ROOT, settings.MEDIA_URL)
|
||||
width = 640
|
||||
height = 1024
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue