8

I've started participating in my university's student programming club. In one of the core projects I found the following lines of code:

class User(models.Model):
password = models.CharField(max_length=100)
...

I feel like I need to do something about it.

Comments
  • 1
    ...
    Please do.
  • 1
    And the worst part is that Django already ships with a user model (that does password hashing and stuff)
  • 1
    I like that there are models in your class of the university! They even have a CharField with reasonable limitations :p
Add Comment