Wednesday, October 30, 2019

data is not saved in admin

def pure(request):
form_dj = new()
if request.method=="POST":
form_dj=new(request.POST)
context={
"form":form_dj
}
return render(request,"new/new1.html",context)
everything is good but when i opened the admin the data is not saved there help me

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9f852a92-659e-4fc4-95eb-b98a17ab2663%40googlegroups.com.

No comments:

Post a Comment