Metadata-Version: 1.0
Name: django-stringfield
Version: 0.1.2
Summary: Better string field for Django.
Home-page: https://github.com/aino/django-stringfield
Author: Mikko Hellsing
Author-email: mikko@aino.se
License: BSD
Description: 
        django-stringfield
        ==================
        
        A string field that tries not to enforce length on database level. Currently
        implemented as:
        
        PostgreSQL
            ``character varying``
        
        MySQL
            ``VARCHAR (65528)``
            MySQL >= 5.0.3 should be able to handle a maximum length of 65535 but that
            does not work in my empirical testing using mysql 5.1.41 where 65528 is the
            maximum considering ``NULL`` and ``NOT NULL``.
        
        SQLite & Other backends
            ``TEXT``
        
        
        Installation
        ------------
        ::
        
            pip install django-stringfield
        
        
        Usage
        -----
        You use this just like the normal ``django.db.models.CharField`` except that the
        key word argument ``max_length`` works a little differently:
        
        * It is optional and defaults to 255
        * It only enforces max length on the default formfield **not** on the database.
        
        Example::
        
            # models.py
            from stringfield import StringField
        
            class MyModel(models.Model):
                name = StringField()
        
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Framework :: Django
