<?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>Django foo &#187; emailfield</title>
	<atom:link href="http://www.djangofoo.com/tag/emailfield/feed" rel="self" type="application/rss+xml" />
	<link>http://www.djangofoo.com</link>
	<description>Django Tips and Tweaks</description>
	<lastBuildDate>Wed, 18 Aug 2010 09:38:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Validating email without EmailField</title>
		<link>http://www.djangofoo.com/39/validating-email-without-emailfiel</link>
		<comments>http://www.djangofoo.com/39/validating-email-without-emailfiel#comments</comments>
		<pubDate>Mon, 25 Jan 2010 23:03:33 +0000</pubDate>
		<dc:creator>Davo</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[emailfield]]></category>
		<category><![CDATA[email_re]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.djangofoo.com/?p=39</guid>
		<description><![CDATA[Sometimes it is handy to test if a given string is a valid email without having EmailField or Form. The following function can be used to validate an email. from django.core.validators import email_re def is_valid_email(email): if email_re.match(email): return True return False]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is handy to test if a given string is a valid email without having EmailField or Form.<br />
The following function can be used to validate an email.</p>
<pre class="brush: python">
from django.core.validators import email_re

def is_valid_email(email):
    if email_re.match(email):
        return True
    return False
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.djangofoo.com/39/validating-email-without-emailfiel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

