image-upload

Copy file into another folder with django?

Copy file into another folder with django? Question: I need to upload profile images into diferent folders in Django. So, I have a folder for each account, and the profile image have to go to the specific folder. How can I do that? Here is my uploadprofile.html <form action=”{% url ‘uploadimage’ %}” enctype=”multipart/form-data” method=”POST”> {% …

Total answers: 3