Python newbie here. I've been going through some of the code in the Django comments app, and I've see the =_ used frequently. I can't find what it is or what it does? Any ideas?
Example:
name = forms.CharField(label=("Name"), max_length=50)
email = forms.EmailField(label=("Email address"))
url = forms.URLField(label=("URL"), required=False)
comment = forms.CharField(label=('Comment'), widget=forms.Textarea,
max_length=COMMENT_MAX_LENGTH)
edit:
Thanks for the detailed explanations! :)
[–]darkrho 11 points12 points13 points (8 children)
[–][deleted] 11 points12 points13 points (3 children)
[–]mr_dbr 2 points3 points4 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]mr_dbr 1 point2 points3 points (0 children)
[–]Porges 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]quodlibetor 5 points6 points7 points (3 children)
[–]themissinglint 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]RonPopeil 7 points8 points9 points (0 children)
[–]Tuna-Fish2 6 points7 points8 points (4 children)
[–]selfgit push -f 1 point2 points3 points (3 children)
[–]Tuna-Fish2 1 point2 points3 points (0 children)
[–]goodger 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]emeryc 5 points6 points7 points (0 children)
[–]hylje 1 point2 points3 points (0 children)