Metadata-Version: 1.1
Name: django-sizefield
Version: 0.2
Summary: A model field to store a file size, whose edition and display shows units.
Home-page: http://code.mathieu-leplatre.info/projects/show/django-sizefield
Author: Mathieu Leplatre
Author-email: contact@mathieu-leplatre.info
License: LGPL
Download-URL: http://code.mathieu-leplatre.info/repositories/show/django-sizefield
Description: django-sizefield
        ----------------
        A file size field, stored as BigInteger and rendered with units in Bytes (KB, MB, ...)
        
        
        Examples
        --------
        With a model like ::
        
        
            class Data(models.Model):
                path = models.FilePathField()
                size = FileSizeField()
        
        In templates ::
        
            {% load sizefieldtags %}
            
            {{ data.size|filesize }}
            
        *will render 12.3KB (for example)*
        
        The model form will have a TextInput, which renders the 
        value with units, and accepts values with or without units.
        
        
        
Keywords: django,field,filesize
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.5
Classifier: Operating System :: OS Independent
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Framework :: Django
Classifier: Natural Language :: English
Classifier: Topic :: Utilities
Classifier: Development Status :: 5 - Production/Stable
Provides: sizefield
