0
votes
0answers
37 views

Updating an entry on form submit instead of saving new entry

here is my views.py which is having the edit functionality of the form. after submitting it. the form is saving as new entry in the databse. i want to replace the existing form with changed field. ...
0
votes
1answer
734 views

User authentication in django with custom user model and table

I'm fairly new to Django and wanted to ask regarding user authentication and logging in. I read the documentation and I was unable to find proper answer/direction regarding what I am trying to ...
-2
votes
2answers
40 views

My Status object is not saving in Django

When I enter the shell, I run into the following problem: from users.models import Status from django.utils import timezone Status.objects.all() >>> [] p = Status() p.status_time = ...