<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" -->
<rss version="0.92">
<channel>
	<title>Blog from the Loft &#187; django</title>
	<link>http://www.pkshiu.com/loft</link>
	<description>Thoughts without walls</description>
	<lastBuildDate>Tue, 22 Jul 2008 15:19:36 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Django and PyTextile Revisited</title>
		<description>I wrote a post earlier about PyTextile not working well in Django. James Bennet was nice enough to add some pointers to the issue. (Comments are working now on my Blog). Now that I am using textile more, I want to investigate and document the issue better.

Most importantly, the problem ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/07/django-and-pytextile-revisited</link>
			</item>
	<item>
		<title>J2EE to Django, slides for the Presentation at Cambridge Python Meetup</title>
		<description>I gave a short presentation on Django to the Cambridge Python Users group earlier. Nate has a great writeup of the event and the other presentations that evening. I just want to share the slides here. The slides are just visual reminders and do not stand on their own. If ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/06/j2ee-to-django-slides-for-the-presentation-at-cambridge-python-meetup</link>
			</item>
	<item>
		<title>Django Tip: No leading slash for upload_to for FileField and ImageField</title>
		<description>This is a common mistake. When defining a FileField or an ImageField, you need to specify
where the files are stored. This is done by specifying a relative path in the upload_to
argument. Django will then store your files in a subdirectory as named, under the MEDIA_ROOT
directory. But, don't put a leading ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/05/django-tip-no-leading-slash-for-upload_to-for-filefield-and-imagefield</link>
			</item>
	<item>
		<title>Django Tip: Outputting list of items separated by commas, but only if it has more than one item</title>
		<description>How many times do you need to do this? You have a list of things to output. The list can be empty, has one element, or more. You want to separate each items with a separator for readability. What do you do?

1. The simple but not reader friendly way:

toppings = ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/04/django-tip-outputting-list-of-items-separated-by-commas-but-only-if-it-has-more-than-one-item</link>
			</item>
	<item>
		<title>Emacs for OS X Leopard</title>
		<description>I have been using the text mode emacs up to now. On Windows (yikes!) I uses the xemacs with windows extension, which is pretty nice. Quick googling found me Carbon Emacs. It has been updated, universal binary and Leopard. Highly recommended ! </description>
		<link>http://www.pkshiu.com/loft/archive/2008/01/emacs-for-os-x-leopard</link>
			</item>
	<item>
		<title>gettext on Leopard for Django Internationalization</title>
		<description>I started working on one of my internationalized applications on the new Mac. I realized I did not install "gettext", which is required by the make-messages and compile-messages scripts. I want to avoid installing things into OS X if I can. Then I found the easy way out:

1. Install poedit ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/01/gettext-on-leopard-for-django-internationalization</link>
			</item>
	<item>
		<title>Django on Leopard</title>
		<description>Part of the reason I was waiting to switch from using Windows XP (gasp) as my Django development platform to OS X is that it is actually easier to install the platform on XP. Windows does not come with any of the tools, so it was a matter of installing ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/01/django-on-leopard</link>
			</item>
	<item>
		<title>Django 0.96 Internationalization</title>
		<description>I am trying out Django's i18n support and found a few issues. This only applies if you are using newforms and Django 0.96.
Order of Middleware
First, the order of the middleware is important. It is defined in the documentation, but I missed it the first time around. You have to put ...</description>
		<link>http://www.pkshiu.com/loft/archive/2008/01/django-096-internationalization</link>
			</item>
	<item>
		<title>Using pytextile in Django - problem with unicode</title>
		<description>I am coverting a J2EE application over to django. The existing app uses Textile as a simple markup for user text input. After installing pytextile (which is under ownership change at the moment), I found a problem using it:
The "textile" filter works for strings and strings retrieved from my database, ...</description>
		<link>http://www.pkshiu.com/loft/archive/2007/10/using-pytextile-in-django-problem-with-unicode</link>
			</item>
	<item>
		<title>The Importance of the initial argument in Django newforms library</title>
		<description>I like Django a lot. In fact I am in the middle of converting a large J2EE application to Django. Sometimes I run into a problem using it, and knowing Django, I know there is a good solution. To find the solution however, sometimes require very careful reading of the ...</description>
		<link>http://www.pkshiu.com/loft/archive/2007/09/the-importance-of-the-initial-argument-in-django-newforms-library</link>
			</item>
</channel>
</rss>
