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() ]

*View*

def 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()

*Form*

class dms_school_gis_info_form(forms.Form):
    tempid = forms.CharField()
    latitude=forms.CharField()
    longitude=forms.CharField()

    def process(self):
        cd = self.cleaned_data



Please help me

Sekkizhar

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE3eSFWdRTBFx73j8ncrMf%2BjYznXvxE6S-q6cZVLbp2i8xRaww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to