~osomon/phatch/pyexiv2-0.3

« back to all changes in this revision

Viewing changes to phatch/core/models.py

  • Committer: spe.stani.be at gmail
  • Date: 2009-03-30 13:43:04 UTC
  • Revision ID: spe.stani.be@gmail.com-20090330134304-6xe3d03s8rzgo4yt
adding highlight and outline (thanks nadia)

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
                ],
109
109
                extensions  = self.extensions)
110
110
            
 
111
    class HighlightFileField(ImageReadFileField):
 
112
        def init_dictionary(self):
 
113
            self.dictionary     = files_dictionary(
 
114
                paths       = [
 
115
                    os.path.join(PATHS["PHATCH_IMAGE_PATH"],'highlights'),
 
116
                    PATHS["USER_HIGHLIGHTS_PATH"],
 
117
                ],
 
118
                extensions  = self.extensions)
 
119
            
111
120
    class WatermarkFileField(ImageReadFileField):
112
121
        def init_dictionary(self):
113
122
            self.dictionary     = files_dictionary(