Changeset 03ca023


Ignore:
Timestamp:
05/02/12 16:31:02 (2 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, dev2, diadems, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, release/1.4.4, sabiod, security, server, social, storage, telecaster, test
Children:
54cb70b, 1d503bb, 7566b3e, eb1356d, 57305a5, 49edfe4
Parents:
b329804
git-author:
yomguy <yomguy@…> (05/02/12 16:31:02)
git-committer:
yomguy <yomguy@…> (05/02/12 16:31:02)
Message:

fix format

Location:
telemeta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • telemeta/models/media.py

    r20ef7d8 r03ca023  
    349349    creator_reference     = CharField(_('reference')) 
    350350    original_format       = ForeignKey(Format, related_name="item", 
    351                                        verbose_name=_('orinal format'), blank=True, 
     351                                       verbose_name=_('original format'), blank=True, 
    352352                                        null=True, on_delete=models.SET_NULL) 
    353353    external_references   = TextField(_('published references')) 
  • telemeta/views/base.py

    r42d8c45 r03ca023  
    660660            last_revision = None 
    661661 
    662         physical_format = item.format.physical_format 
     662        physical_format = item.original_format.original_format 
    663663 
    664664        return render(request, template, 
Note: See TracChangeset for help on using the changeset viewer.