I have a field in the model,
name = models.CharField(max_length=2000)
and the data entered is,
name='abc'
the django model's max_length
is set to 2000 while the entered data is only of length 3,
Does the max_length
reserves space for 2000 characters in the database table per object? after the model object is saved, does the space is freed up?
Do setting up higher max_length
increase the size of database if the number of objects on database is several thousands or millions?
Database is postgres