<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Web X.Y</title>
	<atom:link href="http://webxy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webxy.wordpress.com</link>
	<description>Tips and tricks for development with Java, Python, Django, the Google Web Toolkit, and Linux.</description>
	<lastBuildDate>Thu, 11 Dec 2008 22:21:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='webxy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Web X.Y</title>
		<link>http://webxy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://webxy.wordpress.com/osd.xml" title="Web X.Y" />
	<atom:link rel='hub' href='http://webxy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Python: Using decorators with functools.wraps for automated logging and other goodies</title>
		<link>http://webxy.wordpress.com/2008/12/10/python-using-decorators-with-functoolswraps-for-automated-logging-and-other-goodies/</link>
		<comments>http://webxy.wordpress.com/2008/12/10/python-using-decorators-with-functoolswraps-for-automated-logging-and-other-goodies/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 22:37:35 +0000</pubDate>
		<dc:creator>adambossy</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[decorators]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[wraps]]></category>

		<guid isPermaLink="false">http://webxy.wordpress.com/?p=27</guid>
		<description><![CDATA[from functools import wraps def magiclogging(func):     @wraps(func)     def wrapper(*args, **kwargs):         print ‘Starting ‘ + func.func_name         result = func(*args, **kwargs)         print ‘Finishing ‘ + func.func_name         return result     return wrapper More detail at Stack Overflow. Even more at IBM DeveloperWorks.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=27&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span>from functools import wraps<br />
</span></p>
<p><span>def magiclogging(func):<br />
    @wraps(func)<br />
    def wrapper(*args, **kwargs):<br />
        print ‘Starting ‘ + func.func_name<br />
        result = func(*args, **kwargs)<br />
        print ‘Finishing ‘ + func.func_name<br />
        return result<br />
    return wrapper</span></p>
<p>More detail at <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F308999%2Fwhat-does-functoolswraps-do&amp;ei=TDxASd1bgYK3B9Wt5LwP&amp;usg=AFQjCNFfyWPTtgQuNTCkgr9qcMFvkBl2OQ&amp;sig2=EvdgAFc7MzptGFxTRBWVQA">Stack Overflow</a>.</p>
<p>Even more at IBM <a href="http://www.ibm.com/developerworks/linux/library/l-cpdecor.html">DeveloperWorks</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webxy.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webxy.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webxy.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webxy.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webxy.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webxy.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webxy.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webxy.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=27&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webxy.wordpress.com/2008/12/10/python-using-decorators-with-functoolswraps-for-automated-logging-and-other-goodies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3b670981d1790e67f93b94ca03392d69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adambossy</media:title>
		</media:content>
	</item>
		<item>
		<title>Java: Checkout Eclipse source code using only CVS</title>
		<link>http://webxy.wordpress.com/2008/12/08/java-checkout-eclipse-source-code-using-only-cvs-2/</link>
		<comments>http://webxy.wordpress.com/2008/12/08/java-checkout-eclipse-source-code-using-only-cvs-2/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:14:32 +0000</pubDate>
		<dc:creator>adambossy</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[java eclipse cvs svn opensource]]></category>

		<guid isPermaLink="false">http://webxy.wordpress.com/?p=17</guid>
		<description><![CDATA[Don&#8217;t even mess with SVN. It&#8217;s terrible. Instructions to check out Eclipse via CVS, no plug-ins required (see pictures): http://wiki.eclipse.org/index.php/CVS_Howto#CVS_and_firewalls<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=17&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t even mess with SVN. It&#8217;s terrible.</p>
<p>Instructions to check out Eclipse via CVS, no plug-ins required (see pictures): http://wiki.eclipse.org/index.php/CVS_Howto#CVS_and_firewalls</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webxy.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webxy.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webxy.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webxy.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webxy.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webxy.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webxy.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webxy.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=17&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webxy.wordpress.com/2008/12/08/java-checkout-eclipse-source-code-using-only-cvs-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3b670981d1790e67f93b94ca03392d69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adambossy</media:title>
		</media:content>
	</item>
		<item>
		<title>GWT: Java method calls from Javascript Native Interface (JSNI) with multiple parameters</title>
		<link>http://webxy.wordpress.com/2008/12/08/gwt-java-method-calls-from-javascript-native-interface-jsni-with-multiple-parameters/</link>
		<comments>http://webxy.wordpress.com/2008/12/08/gwt-java-method-calls-from-javascript-native-interface-jsni-with-multiple-parameters/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 06:58:46 +0000</pubDate>
		<dc:creator>adambossy</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jsni]]></category>

		<guid isPermaLink="false">http://webxy.wordpress.com/2008/12/08/gwt-java-method-calls-from-javascript-native-interface-jsni-with-multiple-parameters/</guid>
		<description><![CDATA[Because the GWT tutorial doesn&#8217;t give a clear example. handler.@com.healthySoftware.client.controlPanel.SaveButton::handleJsonResponse(Lcom/google/gwt/core/client/JavaScriptObject;Lcom/google/gwt/user/client/ui/Panel;)(jsonObj, panel);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=19&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Because the <a href="http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&amp;s=google-web-toolkit-doc-1-5&amp;t=DevGuideJavaFromJavaScript">GWT tutorial</a> doesn&#8217;t give a clear example.</p>
<blockquote><p>handler.@com.healthySoftware.client.controlPanel.SaveButton::handleJsonResponse(Lcom/google/gwt/core/client/JavaScriptObject;Lcom/google/gwt/user/client/ui/Panel;)(jsonObj, panel);</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webxy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webxy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webxy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webxy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webxy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webxy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webxy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webxy.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=19&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webxy.wordpress.com/2008/12/08/gwt-java-method-calls-from-javascript-native-interface-jsni-with-multiple-parameters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3b670981d1790e67f93b94ca03392d69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adambossy</media:title>
		</media:content>
	</item>
		<item>
		<title>Java: Checkout Eclipse source code using only CVS</title>
		<link>http://webxy.wordpress.com/2008/12/05/java-checkout-eclipse-source-code-using-only-cvs/</link>
		<comments>http://webxy.wordpress.com/2008/12/05/java-checkout-eclipse-source-code-using-only-cvs/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 17:31:03 +0000</pubDate>
		<dc:creator>adambossy</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[java eclipse cvs svn opensource]]></category>

		<guid isPermaLink="false">http://webxy.wordpress.com/2008/12/05/java-checkout-eclipse-source-code-using-only-cvs/</guid>
		<description><![CDATA[Don&#8217;t even mess with SVN. It&#8217;s terrible. Instructions (see pictures): http://wiki.eclipse.org/index.php/CVS_Howto#CVS_and_firewalls<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=18&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t even mess with SVN. It&#8217;s terrible. </p>
<p>Instructions (see pictures): http://wiki.eclipse.org/index.php/CVS_Howto#CVS_and_firewalls</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webxy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webxy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webxy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webxy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webxy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webxy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webxy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webxy.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=18&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webxy.wordpress.com/2008/12/05/java-checkout-eclipse-source-code-using-only-cvs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3b670981d1790e67f93b94ca03392d69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adambossy</media:title>
		</media:content>
	</item>
		<item>
		<title>Django: &#8220;newforms-admin: root() takes exactly 3 arguments (2 given)&#8221;</title>
		<link>http://webxy.wordpress.com/2008/12/04/django-newforms-admin-root-takes-exactly-3-arguments-2-given/</link>
		<comments>http://webxy.wordpress.com/2008/12/04/django-newforms-admin-root-takes-exactly-3-arguments-2-given/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 17:50:27 +0000</pubDate>
		<dc:creator>adambossy</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[newforms]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://webxy.wordpress.com/?p=10</guid>
		<description><![CDATA[Continued from urls problem. Regex groups, named groups: http://www.mail-archive.com/django-users@googlegroups.com/msg54489.html Yes there is. You can use regex groups: (r'^admin/(.*)', site1.root), The string that matches .* will be passed as an extra arg. Or named groups: (r'^admin/(?P&#60;url&#62;.*)', site1.root), Additionaly, you can pass extra args: http://www.djangoproject.com/documentation/url_dispatch/#passing-extra-options-to-view-functions Juanjo<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=10&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Continued from <a href="http://webxy.wordpress.com/2008/12/04/django-no-module-named-urls-error-for-admin/">urls problem</a>.</p>
<p>Regex groups, named groups:</p>
<p>http://www.mail-archive.com/django-users@googlegroups.com/msg54489.html</p>
<blockquote>
<pre>Yes there is. You can use regex groups:

(r'^admin/(.*)', site1.root),

The string that matches .* will be passed as an extra arg.

Or named groups:

(r'^admin/(?P&lt;url&gt;.*)', site1.root),

Additionaly, you can pass extra args:
<a rel="nofollow" href="http://www.djangoproject.com/documentation/url_dispatch/#passing-extra-options-to-view-functions">http://www.djangoproject.com/documentation/url_dispatch/#passing-extra-options-to-view-functions</a>

Juanjo</pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webxy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webxy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webxy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webxy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webxy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webxy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webxy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webxy.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=10&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webxy.wordpress.com/2008/12/04/django-newforms-admin-root-takes-exactly-3-arguments-2-given/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3b670981d1790e67f93b94ca03392d69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adambossy</media:title>
		</media:content>
	</item>
		<item>
		<title>Django: &#8220;No module named urls&#8221; error for /admin/</title>
		<link>http://webxy.wordpress.com/2008/12/04/django-no-module-named-urls-error-for-admin/</link>
		<comments>http://webxy.wordpress.com/2008/12/04/django-no-module-named-urls-error-for-admin/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 17:48:01 +0000</pubDate>
		<dc:creator>adambossy</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://webxy.wordpress.com/?p=6</guid>
		<description><![CDATA[Backward compatibility issue from Django 0.96 -&#62; Django 1.0. http://groups.google.com/group/django-users/browse_thread/thread/28df85c31f859f36 &#62;&#62; http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Mergednewforms-adminintotrunk : # OLD: from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^admin/', include('django.contrib.admin.urls')), ) # NEW: from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^admin/(.*)', admin.site.root), )<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=6&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Backward compatibility issue from Django 0.96 -&gt; Django 1.0.</p>
<p><span class="c">http://groups.google.com/group/django-users/browse_thread/thread/28df85c31f859f36</span></p>
<p><span class="c">&gt;&gt; http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Mergednewforms-adminintotrunk :</span></p>
<blockquote>
<pre><span class="c">
# OLD:</span>
<span class="k">from</span> <span class="nn">django.conf.urls.defaults</span> <span class="k">import</span> <span class="o">*</span>

<span class="n">urlpatterns</span> <span class="o">=</span> <span class="n">patterns</span><span class="p">(</span><span class="s">''</span><span class="p">,</span>
    <span class="p">(</span><span class="s">r'^admin/'</span><span class="p">,</span> <span class="n">include</span><span class="p">(</span><span class="s">'django.contrib.admin.urls'</span><span class="p">)),</span>
<span class="p">)</span>

<span class="c"># NEW:</span>
<span class="k">from</span> <span class="nn">django.conf.urls.defaults</span> <span class="k">import</span> <span class="o">*</span>
<span class="k">from</span> <span class="nn">django.contrib</span> <span class="k">import</span> <span class="n">admin</span>

<span class="n">admin</span><span class="o">.</span><span class="n">autodiscover</span><span class="p">()</span>

<span class="n">urlpatterns</span> <span class="o">=</span> <span class="n">patterns</span><span class="p">(</span><span class="s">''</span><span class="p">,</span>
    <span class="p">(</span><span class="s">r'^admin/(.*)'</span><span class="p">,</span> <span class="n">admin</span><span class="o">.</span><span class="n">site</span><span class="o">.</span><span class="n">root</span><span class="p">),</span>
<span class="p">)</span></pre>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webxy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webxy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webxy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webxy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webxy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webxy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webxy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webxy.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webxy.wordpress.com&amp;blog=5709754&amp;post=6&amp;subd=webxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webxy.wordpress.com/2008/12/04/django-no-module-named-urls-error-for-admin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3b670981d1790e67f93b94ca03392d69?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adambossy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
