On 14 mar, 04:20, django beginner <[email protected]> wrote:

Main question already answered. As a side note:

> Suppose I have this person model:
>
> class Person(models.Model):
>     userid = models.AutoField(primary_key=True)
>     fname = models.CharField(max_length=30)
>     lname = models.CharField(max_length=30)
>     age = models.IntegerField(max_length=2)


Storing the age of a person is _usually_ plain wrong - better to store
the birth date...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to