i have made an otp_code function in django and i don’t know how to debug it;it shows this error ((‘QuerySet’ object has no attribute ‘created_at’))
when i enter the otp_code that comes from the create_otp_code definition it must show me a success message but it returns the below error
i have highlighted the line of error on views.py
How to handle permissions of media files uploaded in django?
Need urgent help
Hi guys, need a help about a project. How can I handle media files securely in django and Django rest framework?
When i press edit profile i get value error
trying to make an edit page where you can upload a profile picture and add various things to your profile, but when i click on edit profile i get “ValueError at /profile/
The ‘profile_image’ attribute has no file associated with it.”
models.py