<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Django, Initial Data &amp; Many To Many Tables</title>
	<atom:link href="http://ifdebug.com/django-initial-data-many-to-many-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://ifdebug.com/django-initial-data-many-to-many-tables/</link>
	<description>Technical thoughts of a coffee addicted developer</description>
	<lastBuildDate>Fri, 22 Oct 2010 13:14:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: wilma</title>
		<link>http://ifdebug.com/django-initial-data-many-to-many-tables/comment-page-1/#comment-4534</link>
		<dc:creator>wilma</dc:creator>
		<pubDate>Sun, 26 Jul 2009 13:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://ifdebug.com/articles/django-initial-data-many-to-many-tables/#comment-4534</guid>
		<description>This is a pretty old posting, but yesterday i found this page, so i want to post my solution to this problem here.

What you actually can do is to insert your SQL INSERT statements for the many-to-many table created by django within a sql file of one of the models defined by you.

I had the same problem, a model called &quot;image&quot; and a model called &quot;profile&quot;, where i used a many-to-many relation to &quot;image&quot; in my &quot;profile&quot; model. I now just appended the &quot;profile_images&quot; sql code to my image.sql code. It works great!</description>
		<content:encoded><![CDATA[<p>This is a pretty old posting, but yesterday i found this page, so i want to post my solution to this problem here.</p>
<p>What you actually can do is to insert your SQL INSERT statements for the many-to-many table created by django within a sql file of one of the models defined by you.</p>
<p>I had the same problem, a model called &#8220;image&#8221; and a model called &#8220;profile&#8221;, where i used a many-to-many relation to &#8220;image&#8221; in my &#8220;profile&#8221; model. I now just appended the &#8220;profile_images&#8221; sql code to my image.sql code. It works great!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

