file upload to folder based on selected category on form
14 views
Skip to first unread message
Trippy Samurai
unread,
Apr 8, 2022, 7:45:12 AM4/8/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hello,
In my website i am uploading the documents and has title, category(choice field) and file upload on my website, here the file upload stores normally on the admin but how can i store the file inside the seperate folder based on the selected category for ex if the file i am uploading belongs to the category(choice field) named 'X' it should be stored in the folder 'X' likewise for all the other documents should be stored in their respective folders named after category Types.