Ignore:
Timestamp:
Feb 6, 2012 12:29:46 PM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, crem3, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, prob, production, release/1.4.4, sabiod, search, security, server, social, storage, telecaster, test
Children:
c5b912a
Parents:
12fee0f
git-author:
yomguy <yomguy@…> (06/02/2012 12:29:46)
git-committer:
yomguy <yomguy@…> (06/02/2012 12:29:46)
Message:
  • Add media type detection from mime_type
  • fix icons
  • fix auto item.code when copy
File:
1 edited

Legend:

Unmodified
Added
Removed
  • telemeta/models/media.py

    rc4ffd8f r25d44c7  
    634634    element_type = 'corpus' 
    635635    children_type = 'collections' 
    636     icon = 'corpus.png' 
    637636 
    638637    children = models.ManyToManyField(MediaCollection, related_name="corpus", verbose_name=_('collections'),  blank=True, null=True) 
     
    655654    element_type = 'fonds' 
    656655    children_type = 'corpus' 
    657     icon = 'fonds.png' 
    658656 
    659657    children = models.ManyToManyField(MediaCorpus, related_name="fonds", verbose_name=_('corpus'), blank=True, null=True) 
Note: See TracChangeset for help on using the changeset viewer.