Thanks Kevin, it looks like it's not going to be easy. I think I will
create the model by hand since it's not a lot of work and then I will
load the data I have in the dump directly with the PostgreSQL tools
and not doing it with Django.
Bastien

On Jun 1, 10:26 am, "K.Berkhout" <ke...@berkhout.us> wrote:
> I think a database migration tool is what you're looking for.
> I've no experience with such tools, but you could look 
> onhttp://code.djangoproject.com/wiki/SchemaEvolutionfor 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to