Quick Start for Django

  • Step 1. Install the pyuploadcare library.

    pip install pyuploadcare
  • Step 2. Add authentication settings to your settings.py, check out this article to learn more:

        'pub_key': '',
        'secret': '',
  • Step 3. Use pyuploadcare.dj.FileField in any model. No arguments needed.

    from django.db import models

    from pyuploadcare.dj import FileField

    class Photo(models.Model):
        title = models.CharField(max_length=255)
        photo = FileField()

Read more in our pyuploadcare docs. In case of any questions, you can ask those around our community area or directly via email.