mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-19 04:31:01 +00:00
Merge branch 'release/0.3.5'
* release/0.3.5: One really should be able to add multiple maintainers. Bumping the version number. Accessor._delete() and Accessor._exists() needed conditionalizing as well. ikflush was yelling at me.
This commit is contained in:
commit
ca7c3d9a97
3 changed files with 9 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
Django ImageKit
|
||||
|
||||
Author: Justin Driscoll <justin.driscoll@gmail.com>
|
||||
Version: 0.3.4
|
||||
Version: 0.3.5
|
||||
|
||||
"""
|
||||
__author__ = 'Justin Driscoll, Bryan Veloso, Greg Newman, Chris Drackett'
|
||||
|
|
|
|||
|
|
@ -67,10 +67,12 @@ class Accessor(object):
|
|||
self._obj._storage.save(self.name, content)
|
||||
|
||||
def _delete(self):
|
||||
self._obj._storage.delete(self.name)
|
||||
if self._obj._imgfield:
|
||||
self._obj._storage.delete(self.name)
|
||||
|
||||
def _exists(self):
|
||||
return self._obj._storage.exists(self.name)
|
||||
if self._obj._imgfield:
|
||||
return self._obj._storage.exists(self.name)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -3,10 +3,13 @@ from distutils.core import setup
|
|||
|
||||
setup(
|
||||
name='django-imagekit',
|
||||
version='0.3.4',
|
||||
version='0.3.5',
|
||||
description='Automated image processing for Django models.',
|
||||
author='Justin Driscoll',
|
||||
author_email='justin@driscolldev.com',
|
||||
maintainer='Bryan Veloso',
|
||||
maintainer_email='bryan@revyver.com',
|
||||
license='BSD',
|
||||
url='http://github.com/jdriscoll/django-imagekit/',
|
||||
packages=[
|
||||
'imagekit',
|
||||
|
|
|
|||
Loading…
Reference in a new issue