Posts by Natan Oliveira • 41 points
3 posts
-
4
votes1
answer5877
viewsA: Django - Mascara CPF, DDD and phone number
you can use the Django-input-Mask inside your form you can easily create your masks. from input_mask.widgets import InputMask class MyCustomInput(InputMask): mask = {'cpf': '000.000.000-00'}…
-
-1
votes1
answer563
viewsA: Send form Django
your form is pointing to the root of the site. change this: <form action="." method="POST"> for this reason: <form method="POST">…
-
-1
votes2
answers8846
viewsA: Syntaxerror: unindent does not match any Outer indentation level
Actually we have a syntax error, this code works. escada = "Sim" if escada: print("Subir na escada e trocar as lampadas") else: print("Va pegar as escadas") >>> 'Subir na escada e trocar as…