<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bridgeslab.sph.umich.edu/protocols/index.php?action=history&amp;feed=atom&amp;title=Using_South_To_Migrate_a_Django_Database</id>
	<title>Using South To Migrate a Django Database - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bridgeslab.sph.umich.edu/protocols/index.php?action=history&amp;feed=atom&amp;title=Using_South_To_Migrate_a_Django_Database"/>
	<link rel="alternate" type="text/html" href="https://bridgeslab.sph.umich.edu/protocols/index.php?title=Using_South_To_Migrate_a_Django_Database&amp;action=history"/>
	<updated>2026-06-01T20:04:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://bridgeslab.sph.umich.edu/protocols/index.php?title=Using_South_To_Migrate_a_Django_Database&amp;diff=500&amp;oldid=prev</id>
		<title>Davebrid: wrote initial instructions</title>
		<link rel="alternate" type="text/html" href="https://bridgeslab.sph.umich.edu/protocols/index.php?title=Using_South_To_Migrate_a_Django_Database&amp;diff=500&amp;oldid=prev"/>
		<updated>2010-07-21T19:39:56Z</updated>

		<summary type="html">&lt;p&gt;wrote initial instructions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Installation==&lt;br /&gt;
*Install South using pip (pip install south)&lt;br /&gt;
*Add &amp;#039;south&amp;#039; to INSTALLED_APPS&lt;br /&gt;
&lt;br /&gt;
==Initial==&lt;br /&gt;
#&amp;#039;&amp;#039;&amp;#039;Backup the database&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#Run python manage.py syncdb to create south migration tables&lt;br /&gt;
#For each app enter &amp;#039;&amp;#039;&amp;#039;python manage.py schemamigration appname --initial&amp;#039;&amp;#039;&amp;#039;.  This will create the initial migration.&lt;br /&gt;
#If there is pre-existing data in the database enter &amp;#039;&amp;#039;&amp;#039;python manage.py migrate --fake&amp;#039;&amp;#039;&amp;#039; to run a fake migration.&lt;br /&gt;
&lt;br /&gt;
==Migrate Schema Changes==&lt;br /&gt;
#Make some change to the database schema&lt;br /&gt;
#Enter &amp;#039;&amp;#039;&amp;#039;python manage.py schemamigration appname description-of-changes --auto&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#Enter &amp;#039;&amp;#039;&amp;#039;python manage.py migrate appname&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Davebrid</name></author>
	</entry>
</feed>