<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Eric Florenzano's Blog - Latest Comments in Exploring Mixins with Django Model Inheritance</title><link>http://ericflorenzanosblog.disqus.com/</link><description>Eric Florenzano's Blog</description><atom:link href="https://ericflorenzanosblog.disqus.com/exploring_mixins_with_django_model_inheritance/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 16 Jul 2009 00:53:00 -0000</lastBuildDate><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13325407</link><description>&lt;p&gt;Thanks for the great tutorial.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">koxp</dc:creator><pubDate>Thu, 16 Jul 2009 00:53:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13325322</link><description>&lt;p&gt;Thanks for your comments!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">links of london</dc:creator><pubDate>Wed, 15 Jul 2009 16:48:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13325164</link><description>&lt;p&gt;I'm interested about the traffic. What if i load up my server with much of this code, and many visitors will visit it. Won't it crash if my server is not very new?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Free Classified Ads  </dc:creator><pubDate>Tue, 14 Jul 2009 04:46:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13325051</link><description>&lt;p&gt;It is a wonderful article,i like it,thank you very much!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">air jordans</dc:creator><pubDate>Sun, 12 Jul 2009 20:52:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324679</link><description>&lt;p&gt;I think you will make these projects into a success also!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lingerie wholesale</dc:creator><pubDate>Sun, 28 Jun 2009 03:59:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324423</link><description>&lt;p&gt;Nice blog.thanks for your sharing.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tiffany jewellery </dc:creator><pubDate>Wed, 24 Jun 2009 21:05:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324422</link><description>&lt;p&gt;nike tip, thanks a lot.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nike shoes</dc:creator><pubDate>Wed, 24 Jun 2009 21:04:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324421</link><description>&lt;p&gt;Great work, u can say it again.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ugg boots</dc:creator><pubDate>Wed, 24 Jun 2009 21:04:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324420</link><description>&lt;p&gt;You know, that's a really great idea. This could be done automatically with a small patch to &lt;a href="http://Model.save" rel="nofollow noopener" target="_blank" title="Model.save"&gt;Model.save&lt;/a&gt;(). Maybe I'll write up a patch later!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jordan shoes</dc:creator><pubDate>Wed, 24 Jun 2009 21:03:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324419</link><description>&lt;p&gt;undersleep piaffe scotomata methine anisotropism seres antihysteric unpoisonable&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jordan shoes </dc:creator><pubDate>Wed, 24 Jun 2009 21:03:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324201</link><description>&lt;p&gt;Web developers often use caches off the database due to a few aspects inherent with databases. Computing values from a normalized database takes time, and so it's a good target for memorization. Even if it's cheap to compute or pull at the database&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wholesale Lingerie</dc:creator><pubDate>Mon, 22 Jun 2009 14:12:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13324064</link><description>&lt;p&gt;Great work, u can say it again.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wow power leveling</dc:creator><pubDate>Tue, 16 Jun 2009 22:53:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13323870</link><description>&lt;p&gt;nike tip, thanks a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jimmy poiy</dc:creator><pubDate>Mon, 08 Jun 2009 07:16:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13323821</link><description>&lt;p&gt;Nice blog.thanks for your sharing.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wholesale jewelry</dc:creator><pubDate>Sun, 31 May 2009 22:26:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13323762</link><description>&lt;p&gt;You know, that's a really great idea. This could be done automatically with a small patch to &lt;a href="http://Model.save" rel="nofollow noopener" target="_blank" title="Model.save"&gt;Model.save&lt;/a&gt;(). Maybe I'll write up a patch later!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ben 10 oyunları</dc:creator><pubDate>Sun, 24 May 2009 21:06:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13323004</link><description>&lt;p&gt;undersleep piaffe scotomata methine anisotropism seres antihysteric unpoisonable&lt;br&gt;&lt;a href="http://www.creative.com.cy/" rel="nofollow noopener" target="_blank" title="http://www.creative.com.cy/"&gt;Creative Tours&lt;/a&gt;&lt;br&gt; &lt;a href="http://www.thisisthenortheast.co.uk/the_north_east/newton_aycliffe" rel="nofollow noopener" target="_blank" title="http://www.thisisthenortheast.co.uk/the_north_east/newton_aycliffe"&gt;http://www.thisisthenorthea...&lt;/a&gt; &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rosalie Dunlap</dc:creator><pubDate>Sat, 07 Jun 2008 21:49:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322996</link><description>&lt;p&gt;undersleep piaffe scotomata methine anisotropism seres antihysteric unpoisonable&lt;br&gt;&lt;a href="http://www.theoxfordgroup.com/" rel="nofollow noopener" target="_blank" title="http://www.theoxfordgroup.com/"&gt;The Oxford Group&lt;/a&gt;&lt;br&gt; &lt;a href="http://www.winspec.com/" rel="nofollow noopener" target="_blank" title="http://www.winspec.com/"&gt;http://www.winspec.com/&lt;/a&gt; &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffery Witt</dc:creator><pubDate>Wed, 04 Jun 2008 01:24:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322995</link><description>&lt;p&gt;undersleep piaffe scotomata methine anisotropism seres antihysteric unpoisonable&lt;br&gt;&lt;a href="http://freebizadsweb.com/tablemaker/tablemaker.asp" rel="nofollow noopener" target="_blank" title="http://freebizadsweb.com/tablemaker/tablemaker.asp"&gt;Button Maker&lt;/a&gt;&lt;br&gt; &lt;a href="http://www.cleversley.com/" rel="nofollow noopener" target="_blank" title="http://www.cleversley.com/"&gt;http://www.cleversley.com/&lt;/a&gt; &lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dewayne Curry</dc:creator><pubDate>Mon, 02 Jun 2008 15:48:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322984</link><description>&lt;p&gt;Yes, this a result of the manager which doesn't yet work with Django trunk.  I still suggest checking out&lt;/p&gt;&lt;p&gt;&lt;a href="http://code.djangoproject.com/ticket/7252" rel="nofollow noopener" target="_blank" title="http://code.djangoproject.com/ticket/7252"&gt;http://code.djangoproject.c...&lt;/a&gt;&lt;br&gt;and &lt;a href="http://code.djangoproject.com/ticket/7154" rel="nofollow noopener" target="_blank" title="http://code.djangoproject.com/ticket/7154"&gt;http://code.djangoproject.c...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric Florenzano</dc:creator><pubDate>Sun, 18 May 2008 09:21:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322983</link><description>&lt;p&gt;BlogPost.tree.get_roots() does work when tree = NaiveHierarchyManager() is defined under BlogPost&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anon</dc:creator><pubDate>Sat, 17 May 2008 23:56:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322982</link><description>&lt;p&gt;BlogPost.tree.get_roots() generates an attribute error for me on django revision 7538, anybody experiencing this...&lt;/p&gt;&lt;p&gt;AttributeError: 'Options' object has no attribute '_join_cache' happens in&lt;/p&gt;&lt;p&gt;'''&lt;br&gt;/usr/local/lib/python2.5/site-packages/django/db/models/sql/&lt;a href="http://query.py" rel="nofollow noopener" target="_blank" title="query.py"&gt;query.py&lt;/a&gt; in setup_joins(self, names, opts, alias, dupe_multis, allow_many, allow_explicit_fk, can_reuse)&lt;br&gt;   1121                             opts.pk.column), exclusions=joins)&lt;br&gt;   1122                     joins.append(alias)&lt;br&gt;-&amp;gt; 1123             cached_data = opts._join_cache.get(name)&lt;br&gt;   1124             orig_opts = opts&lt;br&gt;   1125 &lt;br&gt;'''&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anon</dc:creator><pubDate>Sat, 17 May 2008 23:41:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322981</link><description>&lt;p&gt;Nice example! An excellent way to stay DRYer in the model.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hachaboob</dc:creator><pubDate>Sat, 17 May 2008 13:58:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322980</link><description>&lt;p&gt;You don't give the DateMixin enough credit.  I've been using something very much like that in production ever since qs-rf merged.  Anytime any model overrides save() it should use super() to call the default save() from models.Model.  If that model is now a subclass of DateMixin instead of Model, the identical super() call will call &lt;a href="http://DateMixin.save" rel="nofollow noopener" target="_blank" title="DateMixin.save"&gt;DateMixin.save&lt;/a&gt;(), which will in turn call &lt;a href="http://Model.save" rel="nofollow noopener" target="_blank" title="Model.save"&gt;Model.save&lt;/a&gt;() - in other words, it all just works.  The subclass doesn't need to do anything different than it would if subclassing Model normally.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl Meyer</dc:creator><pubDate>Sat, 17 May 2008 12:58:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322979</link><description>&lt;p&gt;You just subclass it alone, the behavior is self contained.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Sat, 17 May 2008 07:31:00 -0000</pubDate></item><item><title>Re: Exploring Mixins with Django Model Inheritance</title><link>http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/#comment-13322978</link><description>&lt;p&gt;Could someone show how to use the DateMixin alone?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 17 May 2008 07:02:00 -0000</pubDate></item></channel></rss>