Monday, October 24, 2022

Re: request to post UnboundLocalError

Hello,

The variable 'contact' on line 27 is messing with python as the model name 'contact' is not being recognized but instead, the variable is being recognized.
I'd advise you to change the variable name. i.e.
contact = contact(....) 
to 
contact_var = contact(...)
contact_var.save()



Sender notified by
Mailtrack
10/24/22, 09:04:18 AM

On Sun, Oct 23, 2022 at 8:22 PM Deepak kumar <dk9284219@gmail.com> wrote:
please check to pdf and send to my email dk9284219@gmail.com

--
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/ce32825e-f275-4735-af27-6626e19f60ban%40googlegroups.com.

--
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/CAKvf1-pLy-jzv438t%2BOPiJV8UiomS3N2COi3s7Otgszu261LrQ%40mail.gmail.com.

No comments:

Post a Comment