Metadata-Version: 2.1
Name: drf-file-upload
Version: 0.0.3
Summary: A DRF app upload files easily
Home-page: https://github.com/mari8i/drf-file-upload
Author: Alessandro Mariotti
Author-email: mariotti.devel@gmail.com
License: BSD-3-Clause
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content

===============
DRF File Upload
===============

A library to simplify file upload with the Django Rest Framework

Quick start
-----------

1. Add "drf_file_upload" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'drf_file_upload',
    ]

2. Include the polls URLconf in your project urls.py like this::

    path('upload/', include('drf_file_upload.urls')),

3. Run ``python manage.py migrate`` to create the file upload models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
   to create see uploaded files (you'll need the Admin app enabled).

5. Run the cleanup management command `deleted_expired_uploaded_files` in a cron task or add a celery task

TODO: Improve https://docs.djangoproject.com/en/3.1/intro/reusable-apps/


