Good Morning,
I am trying to save data in the table using cleaned data by get and post method in the view.
How will I trace step by step the movement of data which is to be saved in the database?
My problem is there is know error while running the program. But i did not see any data saved in the table in postgres. Where is the data? where can i find the data? [ i Used IPDP() ]
Viewdef post(self,request,**kwargs):
if request.method == 'POST':
form=dms_school_gis_info_form(request.POST)
if form.is_valid():
form.process()
cd = dms_school_gis_info(
tempid_id = form.cleaned_data['tempid'],
latitude=form.cleaned_data['latitude'],
longitude=form.cleaned_data['longitude'],
)
cd.save()