Metadata-Version: 1.1
Name: django-truncate
Version: 0.1
Summary: A simple Django app to help developers truncate specific models.
Home-page: https://github.com/KhaledElAnsari/django-truncate
Author: Khaled Al-Ansari
Author-email: khaledelansari@gmail.com
License: BSD License
Description-Content-Type: UNKNOWN
Description: Django-Truncate
        ===============
        
        Django-Truncate is a simple library that will add the ability to empty
        any given model in any app within your django project, in a more SQL related
        words it will **TRUNCATE** the **TABLE** with a simple command::
        
            python manage.py truncate --apps myapp --models model1 model2
        
        Installation
        ------------
        
        After you move to your django project main directory follow these simple steps
        
        1. In your terminal/command line run the following command::
        
                pip install django-truncate
        
        2. Add "django-truncate" to your **INSTALLED_APPS** in the settings.py file::
        
                INSTALLED_APPS = [
                  ...
                  'django_truncate',
                ]
        
        3. And that's it! you're now ready to use it.
        
        Usage & Options
        ---------------
        
        1. You can truncate all of the tables in one app or multiple apps using **--apps**::
        
                python manage.py truncate --apps appone apptwo
        
        2. If you want you can truncate a specific table(s) in an app using **--models**::
        
                python manage.py truncate --apps appone --models Model3
        
           Note if you don't write the name of the app the truncate will stop and you'll see an error message in the terminal
        
        Remember you can always see the instructions by running::
        
            python manage.py truncate -h
        
        License
        -------
        
        This project is under the BSD License.
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.7
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
