Thanks Chetan ...It worked !!
On 07-Jun-2019 1:23 am, "Chetan Ganji" wrote:
Hi Anchal
PFA
https://stackoverflow.com/questions/9061846/attributeerror-at-
registration-userform-object-has-no-attribute-save
.save() method is available on forms.ModelForm; not on forms.Form
Regards,
Chetan Ganji
+9
Hi Anchal
PFA
https://stackoverflow.com/questions/9061846/attributeerror-at-registration-userform-object-has-no-attribute-save
.save() method is available on forms.ModelForm; not on forms.Form
Regards,
Chetan Ganji
+91-900-483-4183
ganji.che...@gmail.com
http://ryucoder.in
On Fri, Jun 7, 2019
Hello, from which repos ?
On Thu, Jun 6, 2019 at 7:50 PM anchal agarwal
wrote:
> Hello,
> I am making a simple user form but my form data is not saving.It is
> showing this error
> 'UserForm' object has no attribute 'save'
> Here is my code. Please tell me where i am wrong
> views.py
> class Us
Hello,
I am making a simple user form but my form data is not saving.It is showing
this error
'UserForm' object has no attribute 'save'
Here is my code. Please tell me where i am wrong
views.py
class UserFormView(View):
form_class=UserForm
template_name='music/registration_form.html'
#display blan
4 matches
Mail list logo