Metadata-Version: 1.1
Name: DjangoKeyhole
Version: 0.3.dev0
Summary: Django form widget for cropping uploaded images based on a predefined size
Home-page: https://github.com/BontaVlad/DjangoKeyhole
Author: Bonta Sergiu Vlad
Author-email: bonta.vlad@gmail.com
License: MIT License, see LICENSE.txt
Description: DjangoKeyhole
        =============
        
        DjangoKeyhole is a Django addon that adds an image crop widget to the
        standard ImageField. The actual cropping is done by the wonderful jquery
        cropping library `cropit`_. Now the implementation destroys the original
        image but future versions might support non-destructive cropping.
        
        -  quick and easy instalation
        -  no external dependencyes
        -  magic.
        
        Installation
        ~~~~~~~~~~~~
        
        .. code:: sh
        
            $ pip install DjangoKeyhole
        
        Add ``keyhole`` to you're ``INSTALLED_APPS`` in ``settings.py``
        
        Last but not least
        
        .. code:: sh
        
            $ python manage.py collectstatic
        
        How to use
        ~~~~~~~~~~
        
        .. code:: python
        
            from django import forms
        
            #import the widget
            from keyhole.widgets import CroppedImageWidget
        
            class MyAdminForm(forms.ModelForm):
                # width and height are in px
                foo_image = forms.ImageField(widget=CroppedImageWidget(width=160, height=160))
        
        Todo's
        ~~~~~~
        
        -  Write Tests
        -  Fix typos in text
        -  Add Code Comments
        -  Test in pyhon 2.7
        
        Version
        ~~~~~~~
        
        0.1
        
        License
        -------
        
        MIT
        
        **Free Software, Hell Yeah!**
        
        .. _cropit: http://scottcheng.github.io/cropit/
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
