django south and new installed app how to?

43 views
Skip to first unread message

Gijsbert de Haan

unread,
Dec 15, 2011, 9:58:58 AM12/15/11
to django...@googlegroups.com
Hi,
I have an existing django project with south enabled using buildout. Now I want to add a new egg to get and install another django application for my project, this new application needs models, and thus needs tables to be created.
My question: is it possible to have these tables created via South? That way my current deployment system, which uses South migrations to do database schema changes, could also handle this new application.
I have tried to run manage.py schemamigrate newapp and migrate (newapp) but that creates files in the eggs directory, which I prefer not to add to my source control system.
Any advice on how to do this properly?
Thanks,
Gijsbert

Piotr Zalewa

unread,
Dec 20, 2011, 3:47:31 AM12/20/11
to django...@googlegroups.com
Explained here: http://south.aeracode.org/docs/commands.html#schemamigration

> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/ZewQKq1UiE8J.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

Reply all
Reply to author
Forward
0 new messages