~osomon/phatch/extract-all-metadata

« back to all changes in this revision

Viewing changes to phatch/actions/watermark.py

  • Committer: stani
  • Date: 2007-08-29 14:04:56 UTC
  • Revision ID: spe.stani.be@gmail.com-20070829140456-kjvmw9rfeuqwx6py
ImageFileRead fix and added dev docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    def __init__(self):
62
62
        fields = models.Fields()
63
63
        
64
 
        fields[_t('Mark')]              = models.FileField(' ')
 
64
        fields[_t('Mark')]              = models.ImageReadFileField(' ')
65
65
        fields[_t('Method')]            = models.ChoiceField(METHODS[0],
66
66
                                            METHODS)
67
67
        fields[_t('Horizontal Offset')] = models.PixelField('5')