<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Oom &#187; list_display</title>
	<atom:link href="http://web.pyncus.com/tag/list_display/feed/" rel="self" type="application/rss+xml" />
	<link>http://web.pyncus.com</link>
	<description>Build and Share Web Technology</description>
	<lastBuildDate>Mon, 25 Jan 2010 18:19:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>&#039;CityAdmin.list_display&#039; must be a list or tuple.</title>
		<link>http://web.pyncus.com/2009/08/03/cityadmin-list_display-must-be-a-list-or-tuple/</link>
		<comments>http://web.pyncus.com/2009/08/03/cityadmin-list_display-must-be-a-list-or-tuple/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 05:36:10 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[list_display]]></category>

		<guid isPermaLink="false">http://weboom.wordpress.com/2009/08/03/cityadmin-list_display-must-be-a-list-or-tuple/</guid>
		<description><![CDATA[You may get the above error message in &#8212;- from biz.models import Entry, City, Category class CityAdmin(admin.ModelAdmin): list_display = (&#8216;name&#8217;) admin.site.register(City, CityAdmin) &#8212;&#8212;&#8212; to fix, list_display = (&#8216;name&#8217;,)]]></description>
			<content:encoded><![CDATA[<p>You may get the above error message in</p>
<p>&#8212;-</p>
<p>from biz.models import Entry, City, Category</p>
<p>class CityAdmin(admin.ModelAdmin):<br />
list_display = (&#8216;name&#8217;)<br />
admin.site.register(City, CityAdmin)</p>
<p>&#8212;&#8212;&#8212;</p>
<p>to fix,</p>
<p>list_display = (&#8216;name&#8217;<span style="color:#ff0000;"><strong>,</strong></span>)</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/08/03/cityadmin-list_display-must-be-a-list-or-tuple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is for list_display ?</title>
		<link>http://web.pyncus.com/2009/06/27/what-is-for-list_display/</link>
		<comments>http://web.pyncus.com/2009/06/27/what-is-for-list_display/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 06:49:13 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[list_display]]></category>

		<guid isPermaLink="false">http://weboom.wordpress.com/?p=123</guid>
		<description><![CDATA[In admin interface, the element of list will be displayed. &#8212;&#8212;&#8212;&#8212;&#8212;- e.g., from django.contrib import admin from mailer.models import Message class MessageAdmin(admin.ModelAdmin): list_display = (&#8216;id&#8217;, &#8216;to_address&#8217;, &#8216;subject&#8217;, &#8216;when_added&#8217;, &#8216;priority&#8217;)]]></description>
			<content:encoded><![CDATA[<p>In admin interface,</p>
<p>the element of list will be displayed.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>e.g.,</p>
<p>from django.contrib import admin<br />
from mailer.models import Message</p>
<p>class MessageAdmin(admin.ModelAdmin):<br />
list_display = (&#8216;id&#8217;, &#8216;to_address&#8217;, &#8216;subject&#8217;, &#8216;when_added&#8217;, &#8216;priority&#8217;)</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/06/27/what-is-for-list_display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

