<?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: 청) 컨트롤러(뷰) &#8211; 댓글 기능 (5편 3/3) &#8211; django 강좌</title>
	<atom:link href="http://www.hannal.net/think/05_3-python_django_lecture/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hannal.net/think/05_3-python_django_lecture/</link>
	<description>여러 이야기거리에 대해 좀 더 깊이 생각해보다.</description>
	<lastBuildDate>Mon, 25 Jan 2010 16:44:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 휴</title>
		<link>http://www.hannal.net/think/05_3-python_django_lecture/comment-page-1/#comment-607</link>
		<dc:creator>휴</dc:creator>
		<pubDate>Mon, 09 Nov 2009 15:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.hannal.net/think/?p=103#comment-607</guid>
		<description>잘배우고갑니다^^</description>
		<content:encoded><![CDATA[<p>잘배우고갑니다^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 한날</title>
		<link>http://www.hannal.net/think/05_3-python_django_lecture/comment-page-1/#comment-127</link>
		<dc:creator>한날</dc:creator>
		<pubDate>Sun, 20 Jul 2008 11:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.hannal.net/think/?p=103#comment-127</guid>
		<description>훨씬 깔끔하고 좋군요. :D 글 내용에 반영하였습니다. 좋은 조언 고맙습니다!

덧쓰기 : 워드프레스 판올림 이후 예전에 쓰던 OpenID 확장기능이 작동하질 않네요. 잘 작동하는 놈으로 곧 적용하겠습니다.</description>
		<content:encoded><![CDATA[<p>훨씬 깔끔하고 좋군요. <img src='http://www.hannal.net/think/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  글 내용에 반영하였습니다. 좋은 조언 고맙습니다!</p>
<p>덧쓰기 : 워드프레스 판올림 이후 예전에 쓰던 OpenID 확장기능이 작동하질 않네요. 잘 작동하는 놈으로 곧 적용하겠습니다.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 스파이크</title>
		<link>http://www.hannal.net/think/05_3-python_django_lecture/comment-page-1/#comment-126</link>
		<dc:creator>스파이크</dc:creator>
		<pubDate>Sun, 20 Jul 2008 11:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.hannal.net/think/?p=103#comment-126</guid>
		<description>request로 입력 받은 내용을 체크하는 부분을 이렇게 고치면 어떨까요? 조금 더 간결하게 할 수 있을 듯해서. 머 내용은 똑같은 거죠 :)

==========================================
# 글쓴이 이름 처리
cmt_name = request.POST.get(&#039;name&#039;, &quot;&quot;)
if not cmt_name.strip() :
    return HttpResponse(&#039;글쓴이 이름을 입력해야 한다우.&#039;)

# 비밀번호
cmt_password = request.POST.get(&#039;password&#039;, &quot;&quot;)
if not cmt_password.strip() :
    return HttpResponse(&#039;비밀번호를 입력해야 한다우.&#039;)

# 댓글 본문 처리
cmt_content = request.POST.get(&#039;content&#039;, &quot;&quot;)
if not cmt_content.strip() :
    return HttpResponse(&#039;댓글 내용을 입력해야 한다우.&#039;)
==========================================

ps. 근데 오픈아이디로 로그인이 안되네요.</description>
		<content:encoded><![CDATA[<p>request로 입력 받은 내용을 체크하는 부분을 이렇게 고치면 어떨까요? 조금 더 간결하게 할 수 있을 듯해서. 머 내용은 똑같은 거죠 <img src='http://www.hannal.net/think/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>==========================================<br />
# 글쓴이 이름 처리<br />
cmt_name = request.POST.get(&#8216;name&#8217;, &#8220;&#8221;)<br />
if not cmt_name.strip() :<br />
    return HttpResponse(&#8216;글쓴이 이름을 입력해야 한다우.&#8217;)</p>
<p># 비밀번호<br />
cmt_password = request.POST.get(&#8216;password&#8217;, &#8220;&#8221;)<br />
if not cmt_password.strip() :<br />
    return HttpResponse(&#8216;비밀번호를 입력해야 한다우.&#8217;)</p>
<p># 댓글 본문 처리<br />
cmt_content = request.POST.get(&#8216;content&#8217;, &#8220;&#8221;)<br />
if not cmt_content.strip() :<br />
    return HttpResponse(&#8216;댓글 내용을 입력해야 한다우.&#8217;)<br />
==========================================</p>
<p>ps. 근데 오픈아이디로 로그인이 안되네요.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
