Thanks for your response.
On Thu 27 Feb, 2020, 10:03 PM Robert Rajendra,
wrote:
> Store only the path in DB and image file in server folder this is the best
> practice, save the file in some folder and forward the path to DB Object
> so that your DB can remember the path of the file and you can
Store only the path in DB and image file in server folder this is the best
practice, save the file in some folder and forward the path to DB Object
so that your DB can remember the path of the file and you can load it in
the frontend,
here is a snippet that you can use
import FileSystemStorage
Hi Folks,
Actually I have one image filed called profile_pic and another is file
field called documents but I don't know what is best practise to store it.
Most importantly how I can make each user details is unique.
Thank you in advance
Regards,
Soumen
--
You received this message because yo
3 matches
Mail list logo