6 Responses

  1. Abdulla says:

    Nice exercise …

    When i tried to upload pdf file ” hello, you have uploaded the wrong file type.”

    but when tried to upload image file give Server Error (500)

  2. DataFlair Team says:

    Hey Abdulla,

    It seems like you haven’t installed PILLOW library of Python. Install that in your virtual environent and try running that again.

  3. Leena says:

    Not showing the uploaded file

  4. Ig says:

    Hi! May I use this method to upload file after my projet was deployed to server?

  5. Joe Wilson says:

    Where is STATIC_URL and STATIC_ROOT in settings.py in project dir in this example?

  6. Ranjeet says:

    i am not able to view image in django/admin interface
    it says:- doesn’t exist. Perhaps it was deleted?
    but image is present in media folder

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.