On Sat, Jun 14, 2008 at 8:26 PM, LB <[EMAIL PROTECTED]> wrote:
>
> Thanks for the fast replies !

No problems.

> So I think I only have three options now :
>
> 1)  change my model and replace the naissance field with three fields
> corresponding to birth day, birth month and birth year.

This is probably the best option at the moment. Django doesn't really
have good support for 'anniversary' type queries (i.e., date range
queries that ignore the year, or greater than/less than queries for
day,month and year); this would be a good feature request to add to
our ticket database.

> What's the best way to change my model and to minimize the operation
> on my database ?
> Is-there a way to migrate easily my data ?

Built into Django - no. However, there are a some external projects
that you can integrate with your code to assist with migration.
Django-evolution (http://code.google.com/p/django-evolution) is
probably the best of the bunch, but my opinion could be skewed by the
fact that I'm a core developer on that project :-)

Yours
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to