<?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"
	>
<channel>
	<title>Comments on: How to extend user model in Django and enable new fields in &#8216;newforms-admin&#8217;</title>
	<atom:link href="http://pyxx.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/</link>
	<description></description>
	<pubDate>Thu, 29 Jul 2010 23:45:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.4-bleeding</generator>
		<item>
		<title>By: LARRY</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-5164</link>
		<dc:creator>LARRY</dc:creator>
		<pubDate>Sun, 04 Jul 2010 05:00:09 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-5164</guid>
		<description>&lt;p&gt;&lt;strong&gt;&#60; blockquote &#62;&#60; a href="http://pillspot.org/"&#62;Pillspot.org. Canadian Health&#38;Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. Low price pills. Buy pills online&#60; /a &#62;...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Buy:Arimidex.Nexium.Retin-A.Prevacid.Accutane.Actos.Zyban.Prednisolone.Synthroid.Zovirax.Valtrex.Petcam (Metacam) Oral Suspension.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Mega Hoodia.Lumigan....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>&lt; blockquote &gt;&lt; a href=&#8221;http://pillspot.org/&#8221;&gt;Pillspot.org. Canadian Health&#38;Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. Low price pills. Buy pills online&lt; /a &gt;&#8230;</strong></p>

<p>Buy:Arimidex.Nexium.Retin-A.Prevacid.Accutane.Actos.Zyban.Prednisolone.Synthroid.Zovirax.Valtrex.Petcam (Metacam) Oral Suspension.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Mega Hoodia.Lumigan&#8230;.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: WALTER</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-5038</link>
		<dc:creator>WALTER</dc:creator>
		<pubDate>Fri, 25 Jun 2010 23:10:55 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-5038</guid>
		<description>&lt;p&gt;&lt;strong&gt;Pillspot.org. Canadian Health&#38;Care.Special Internet Prices.No prescription online pharmacy.Pillspot.org.&#60; b &#62; &#60; a href="http://pillspot.org/products/vitamins_herbal_supplements/ Vitamins@buy.online" &#62;.&#60; /a &#62;...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Categories: &#60; b &#62;Antiviral.Mental HealthMens Health.Weight Loss.Anxiety/Sleep Aid.Womens Health.Vitamins/Herbal Supplements.Anti-allergic/Asthma.Antibiotics.Stop SmokingSkin Care.Stomach.Pain Relief.Antidepressants.Antidiabetic.Blood Pressure/Heart.Eye...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Pillspot.org. Canadian Health&#38;Care.Special Internet Prices.No prescription online pharmacy.Pillspot.org.&lt; b &gt; &lt; a href=&#8221;http://pillspot.org/products/vitamins_herbal_supplements/ <a href="mailto:Vitamins@buy.online"">Vitamins@buy.online&#8221;</a> &gt;.&lt; /a &gt;&#8230;</strong></p>

<p>Categories: &lt; b &gt;Antiviral.Mental HealthMens Health.Weight Loss.Anxiety/Sleep Aid.Womens Health.Vitamins/Herbal Supplements.Anti-allergic/Asthma.Antibiotics.Stop SmokingSkin Care.Stomach.Pain Relief.Antidepressants.Antidiabetic.Blood Pressure/Heart.Eye&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-507</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 13 Apr 2009 04:33:30 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-507</guid>
		<description>&lt;p&gt;This is a very nice piece of code.  I have ready a lot about extending the user model (and I definitely felt that inheritance was a bad path for this) and I am so glad to have found this so that I can put my user profile model on the user admin page.  Thanks for sharing!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is a very nice piece of code.  I have ready a lot about extending the user model (and I definitely felt that inheritance was a bad path for this) and I am so glad to have found this so that I can put my user profile model on the user admin page.  Thanks for sharing!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bo</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-305</link>
		<dc:creator>Bo</dc:creator>
		<pubDate>Wed, 04 Feb 2009 11:41:56 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-305</guid>
		<description>&lt;p&gt;It's possible to do that with other models beside User model?
Always raise Exception(”fk_name ‘%s’ is not a ForeignKey to %s” % (fk_name, parent_model))&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s possible to do that with other models beside User model?
Always raise Exception(”fk_name ‘%s’ is not a ForeignKey to %s” % (fk_name, parent_model))</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-300</link>
		<dc:creator>Fabian</dc:creator>
		<pubDate>Thu, 22 Jan 2009 18:44:16 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-300</guid>
		<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;thanks for the great example. Do you happen to know how you include a field from the UserProfile in MyUserAdmin's list_display?&lt;/p&gt;

&lt;p&gt;search_fields = ['userprofile__nickname'] seems to work whereas
list_display = ('userprofile__nickname') does not.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello,</p>

<p>thanks for the great example. Do you happen to know how you include a field from the UserProfile in MyUserAdmin&#8217;s list_display?</p>

<p>search_fields = [&#8217;userprofile__nickname&#8217;] seems to work whereas
list_display = (&#8217;userprofile__nickname&#8217;) does not.</p>

<p>Thanks</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Chester</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-283</link>
		<dc:creator>Chester</dc:creator>
		<pubDate>Fri, 02 Jan 2009 08:44:29 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-283</guid>
		<description>&lt;p&gt;Thanks!
That saved me from spending another 3 days thinking on how to connect these models in admin panel.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks!
That saved me from spending another 3 days thinking on how to connect these models in admin panel.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: youlsa</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-244</link>
		<dc:creator>youlsa</dc:creator>
		<pubDate>Wed, 24 Dec 2008 04:15:54 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-244</guid>
		<description>&lt;p&gt;Thanks for great information. 
That's just what I needed to enhance my company site.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for great information. 
That&#8217;s just what I needed to enhance my company site.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sasha Philippov</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-61</link>
		<dc:creator>Sasha Philippov</dc:creator>
		<pubDate>Mon, 25 Aug 2008 12:48:38 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-61</guid>
		<description>&lt;p&gt;ferran,&lt;/p&gt;

&lt;p&gt;yes, there was an error in my code. I've updated the code above. Please, use&lt;/p&gt;

&lt;pre&gt;
class MyUserAdmin(UserAdmin):
    inlines = [UserProfileInline, ]
admin.site.unregister(User)
admin.site.register(User, MyUserAdmin)
&lt;/pre&gt;

&lt;p&gt;instead of&lt;/p&gt;

&lt;pre&gt;
UserAdmin.inlines += [UserProfileInline, ]
admin.site.unregister(User)
admin.site.register(User, UserAdmin)
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>ferran,</p>

<p>yes, there was an error in my code. I&#8217;ve updated the code above. Please, use</p>

<pre>
class MyUserAdmin(UserAdmin):
    inlines = [UserProfileInline, ]
admin.site.unregister(User)
admin.site.register(User, MyUserAdmin)
</pre>

<p>instead of</p>

<pre>
UserAdmin.inlines += [UserProfileInline, ]
admin.site.unregister(User)
admin.site.register(User, UserAdmin)
</pre>]]></content:encoded>
	</item>
	<item>
		<title>By: ferran</title>
		<link>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-60</link>
		<dc:creator>ferran</dc:creator>
		<pubDate>Mon, 25 Aug 2008 09:35:03 +0000</pubDate>
		<guid>http://pyxx.org/2008/08/18/how-to-extend-user-model-in-django-and-enable-new-fields-in-newforms-admin/#comment-60</guid>
		<description>&lt;p&gt;Hi, I have problem with this snippet when I added my project I have errors raise Exception("fk_name '%s' is not a
ForeignKey to %s" % (fk_name, parent_model)) in many models&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, I have problem with this snippet when I added my project I have errors raise Exception(&#8221;fk_name &#8216;%s&#8217; is not a
ForeignKey to %s&#8221; % (fk_name, parent_model)) in many models</p>]]></content:encoded>
	</item>
</channel>
</rss>
