On 24-8-2012 8:46, heni yemun wrote: > When i create a user account, fill the fields with some value and save() it > in the database file *myfile.db* for example, the file doesn't show any > change in size. So how do i know if i'm actually saving it and can later > access the values?
Because save complains loudly if it didn't work. It's kind of like crossing the street: if you make it without feeling pain, you can be sure you weren't hit by a car. There's no need to check your clothes for any evidence of the contrary. The reason database files do not grow in size on every new record is because some space is pre-allocated and space previously occupied by deleted records is reused if it fits to prevent large holes (meaning more seeks). -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.