<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8393465772272669416.post6807367912279948006..comments</id><updated>2012-02-14T14:08:34.291+04:00</updated><category term='literature'/><category term='linux'/><category term='math'/><category term='GSoC'/><category term='Aviation'/><category term='Git'/><category term='python'/><category term='os'/><category term='Navy Aviation'/><category term='programing languages'/><category term='fun'/><category term='django'/><category term='kdevelop'/><category term='planetkde'/><category term='libraries'/><category term='hardware'/><category term='kde'/><category term='google'/><category term='minix'/><title type='text'>Comments on Сoder's stories: ManyToMany relations in Django.</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.eivanov.com/feeds/6807367912279948006/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html'/><author><name>Evgeniy Ivanov</name><uri>http://www.blogger.com/profile/13119996304108955124</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-7894026702785887059</id><published>2012-02-14T14:08:34.291+04:00</published><updated>2012-02-14T14:08:34.291+04:00</updated><title type='text'>Very helpful, but in Django 1.2, it should like th...</title><content type='html'>Very helpful, but in Django 1.2, it should like this:&lt;br /&gt;&lt;br /&gt;class Test1(models.Model):&lt;br /&gt;    tests2 = models.ManyToManyField(&amp;#39;Test2&amp;#39;, blank=True)&lt;br /&gt;&lt;br /&gt;class Test2(models.Model):&lt;br /&gt;    tests1 = models.ManyToManyField(Test1, through=Test1.tests2.through, blank=True)&lt;br /&gt;&lt;br /&gt;I found that at this &lt;a href="https://code.djangoproject.com/ticket/897#comment:28" rel="nofollow"&gt;ticket&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/7894026702785887059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/7894026702785887059'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1329214114291#c7894026702785887059' title=''/><author><name>Liu Bo</name><uri>http://www.blogger.com/profile/00406089402739739126</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-anXXvm_agyU/AAAAAAAAAAI/AAAAAAAAAAA/rwVOXmvnseU/s512-c/photo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-51130508'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-8409857265456207172</id><published>2011-11-09T00:36:52.568+04:00</published><updated>2011-11-09T00:36:52.568+04:00</updated><title type='text'>This seems to work for me on Django 1.3 without ca...</title><content type='html'>This seems to work for me on Django 1.3 without causing a syncdb problem:&lt;br /&gt;&lt;br /&gt;class User(models.Model):&lt;br /&gt;    #...&lt;br /&gt;    groups = ManyToManyField(&amp;#39;Group&amp;#39;)&lt;br /&gt;class Group(models.Model):&lt;br /&gt;    #...&lt;br /&gt;    users = ManyToManyField(User,through=WebPage.categories.through)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/8409857265456207172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/8409857265456207172'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1320784612568#c8409857265456207172' title=''/><author><name>Gaz Robertson</name><uri>http://aardweb.co.uk</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2051750584'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-1942777504026366824</id><published>2011-04-29T23:44:56.949+04:00</published><updated>2011-04-29T23:44:56.949+04:00</updated><title type='text'>Still useful two years later.  :)  Thanks!</title><content type='html'>Still useful two years later.  :)  Thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/1942777504026366824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/1942777504026366824'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1304106296949#c1942777504026366824' title=''/><author><name>Valkyrie Savage</name><uri>http://www.blogger.com/profile/00617738056895993491</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_jg7tzLWQO2o/SaYUmUakQhI/AAAAAAAABnk/cY5dloJLv2A/S220/DSC00504.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1250576845'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-8248132873755363811</id><published>2010-12-28T11:18:27.419+03:00</published><updated>2010-12-28T11:18:27.419+03:00</updated><title type='text'>Federico, sure! I&amp;#39;m glad it helped you :-)</title><content type='html'>Federico, sure! I&amp;#39;m glad it helped you :-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/8248132873755363811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/8248132873755363811'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1293524307419#c8248132873755363811' title=''/><author><name>Evgeniy Ivanov</name><uri>http://www.blogger.com/profile/13119996304108955124</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1421886670'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-6497905038612063155</id><published>2010-12-28T04:31:51.566+03:00</published><updated>2010-12-28T04:31:51.566+03:00</updated><title type='text'>Great snippet!
Most elegant solution I found for t...</title><content type='html'>Great snippet!&lt;br /&gt;Most elegant solution I found for the problem.&lt;br /&gt;If it&amp;#39;s OK for you I&amp;#39;ll post this in my (spanish) blog.&lt;br /&gt;Obviously, I&amp;#39;ll link back here as original post.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/6497905038612063155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/6497905038612063155'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1293499911566#c6497905038612063155' title=''/><author><name>Federico</name><uri>http://www.estudio42.com.ar/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2138338453'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-9207222903359521927</id><published>2010-01-26T02:25:53.731+03:00</published><updated>2010-01-26T02:25:53.731+03:00</updated><title type='text'>I&amp;#39;m glad it has helped :)</title><content type='html'>I&amp;#39;m glad it has helped :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/9207222903359521927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/9207222903359521927'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1264461953731#c9207222903359521927' title=''/><author><name>Evgeniy Ivanov</name><uri>http://www.blogger.com/profile/13119996304108955124</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1421886670'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-5830408744288919607</id><published>2010-01-20T18:12:18.907+03:00</published><updated>2010-01-20T18:12:18.907+03:00</updated><title type='text'>Dude, loved your snippet! Saved my as big time, he...</title><content type='html'>Dude, loved your snippet! Saved my as big time, here. Using symmetrical=False didn&amp;#39;t do the trick here, tough.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/5830408744288919607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/5830408744288919607'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1264000338907#c5830408744288919607' title=''/><author><name>Lobo Mal</name><uri>http://www.blogger.com/profile/14178192410153221039</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='13044307145207580937'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://2.bp.blogspot.com/_4ctmN1OlyJM/SO1Xvz4HN2I/AAAAAAAAAEw/UbNX29Q9usM/S220/other_me.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1517224753'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-5942372945670700577</id><published>2009-11-30T20:18:06.288+03:00</published><updated>2009-11-30T20:18:06.288+03:00</updated><title type='text'>So what&amp;#39;s the good way to do this ? Does the u...</title><content type='html'>So what&amp;#39;s the good way to do this ? Does the use of symmetrical is ok ? I read the same in the doc but it would seem a little cleaner.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/5942372945670700577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/5942372945670700577'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1259601486288#c5942372945670700577' title=''/><author><name>Philgo20</name><uri>http://philgo20.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-86209170'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-8996804705623120744</id><published>2009-09-20T13:22:55.881+04:00</published><updated>2009-09-20T13:22:55.881+04:00</updated><title type='text'>Sorry, didn&amp;#39;t get notification about comments....</title><content type='html'>Sorry, didn&amp;#39;t get notification about comments.&lt;br /&gt;Pieter, docs say ManyToManyField.symmetrical should be used with ManyToManyFields on self only. So if the result is the same it could be a bug (and it can be fixed in next releases).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/8996804705623120744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/8996804705623120744'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1253438575881#c8996804705623120744' title=''/><author><name>powerfox</name><uri>http://www.blogger.com/profile/13119996304108955124</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1421886670'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-6775129486386870461</id><published>2009-04-24T13:17:00.000+04:00</published><updated>2009-04-24T13:17:00.000+04:00</updated><title type='text'>Have you tried 'symmetrical = False' in ManyToMany...</title><content type='html'>Have you tried 'symmetrical = False' in ManyToManyField? It will create the same result: one table and related_name in the other class...&lt;br /&gt;Saves some code.&lt;br /&gt;&lt;br /&gt;Cheers</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/6775129486386870461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/6775129486386870461'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1240564620000#c6775129486386870461' title=''/><author><name>Pieter J. Kersten</name><uri>http://www.blogger.com/profile/00496709547238882377</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1386769048'/></entry><entry><id>tag:blogger.com,1999:blog-8393465772272669416.post-6974501449848396319</id><published>2009-04-22T01:34:00.000+04:00</published><updated>2009-04-22T01:34:00.000+04:00</updated><title type='text'>Powerfox, thanks for sharing! First hit on google ...</title><content type='html'>Powerfox, thanks for sharing! First hit on google for "django manytomany both models"... Very good example!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/6974501449848396319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8393465772272669416/6807367912279948006/comments/default/6974501449848396319'/><link rel='alternate' type='text/html' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html?showComment=1240349640000#c6974501449848396319' title=''/><author><name>Martin</name><uri>http://www.martsam.se</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.eivanov.com/2009/01/manytomany-relations-in-django.html' ref='tag:blogger.com,1999:blog-8393465772272669416.post-6807367912279948006' source='http://www.blogger.com/feeds/8393465772272669416/posts/default/6807367912279948006' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-624479388'/></entry></feed>
