Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 694 Bytes

File metadata and controls

17 lines (12 loc) · 694 Bytes

Experiment with Django REST Framework and Image Uploads

To check image upload via REST API, perform these steps:

  1. Download the code.
  2. Create a virtual environment with Python 3.
  3. Install the pip requirements from requirements.txt.
  4. Migrate the database.
  5. Create the superuser.
  6. Run the local development server.
  7. Visit http://127.0.0.1:8000 and try out the forms.

This is how it looks there:

The frontend of the experiment

Read more about file uploads using Django REST Framework at the DjangoTricks blog.