103

!rant
thanks for the idea.

Comments
  • 6
    Wow... I actually learned from this, that you could name variables while formatting strings...
  • 7
    value in ('dick', 'penis',)
  • 1
    @Anaeijon with string.format() it looks even better.
    Cannot wait to use f-strings in the real code:)
  • 2
    And here I am happy to see I'm not the only Django user on devRant
  • 1
    +1 for the humour. But ya don't do it really, it's quite a dick move.
  • 2
    @Nexion I use Django too. Django ftw!
  • 0
    These messages open your system to enumeration attacks. You shouldn't disclose if a user name exists or not, accept the input and send an email. The email can say "welcome new user" or "someone tried to create an account with your email address"
  • 0
    @ReverendLovejoy I believe this was in a registration form. Where each user must save an unique username. Kinda like twitter.
Add Comment