I think a database migration tool is what you're looking for. I've no experience with such tools, but you could look on http://code.djangoproject.com/wiki/SchemaEvolution for database migration tools currently available.
Kevin On 1 jun, 10:09, Bastien <bastien.roche...@gmail.com> wrote: > Hi, > > I have a running Django project with users, and a profile app for the > users to fill in info on their profile. This model is quite simple > with only a few fields, I want to replace it. I have a preexisting > database dump that contains data about existing users of a different > proforject with different fields that I'd like to import and replace > the existing Django model with. > > The database I'm using is PostgreSQL and the database dump I'd like to > import is also PostgreSQL. Is there a simple way to do that? Is there > a tool to import an SQL dump directly into Django and that creates the > model? Or is there a more complex way to do it? > > Thank you, > Bastien --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---