Skip to content
An experiment with Django REST Framework and Image Uploads
Python HTML JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
drf_and_image_uploads
.gitignore
README.md
how-to-upload-a-file-using-django-rest-framework-frontend.png
manage.py
requirements.txt

README.md

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.

You can’t perform that action at this time.