/drfjs

Primary LanguagePython

Django REST Framework and User data 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.