<?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>To Blog or Not To Blog &#187; Technology</title>
	<atom:link href="http://adil.2scomplement.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://adil.2scomplement.com</link>
	<description></description>
	<lastBuildDate>Thu, 24 Dec 2009 14:55:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>django: Hacking django object_list to take list of templates</title>
		<link>http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates</link>
		<comments>http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 07:29:56 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web-Development]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[object_list]]></category>
		<category><![CDATA[select_template]]></category>
		<category><![CDATA[template_loader]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=244</guid>
		<description><![CDATA[I recently found that you can pass a list or tuple to both django.template.loader.render_to_string and django.shortcuts.render_to_response. These functions iterate over the list of templates and render the first template that exists. The magic lies with the django.template.loader.get_template and select_template functions which take a single template name or list of templates respectively.
This is a great functionality [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SeenReport closes first round of funding</title>
		<link>http://adil.2scomplement.com/2009/09/seenreport-closes-first-round-of-funding/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=seenreport-closes-first-round-of-funding</link>
		<comments>http://adil.2scomplement.com/2009/09/seenreport-closes-first-round-of-funding/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 08:17:37 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Achievements]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Al-Janabi Group]]></category>
		<category><![CDATA[first round]]></category>
		<category><![CDATA[funding]]></category>
		<category><![CDATA[investment]]></category>
		<category><![CDATA[SeenReport]]></category>
		<category><![CDATA[Series A]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=200</guid>
		<description><![CDATA[
 
SeenReport (Pvt.) Ltd. has successfully closed its first round of investment from Al-Janabi Group (Official press release)
Phew, I had to keep this news secret for so long that I started having stomach problems. Now that its out, I feel much relieved  . Yaser beat me to the blog post, here is his take on [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/09/seenreport-closes-first-round-of-funding/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>django: How to get model class from model name</title>
		<link>http://adil.2scomplement.com/2009/06/django-how-to-get-model-class-from-model-class-name/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=django-how-to-get-model-class-from-model-class-name</link>
		<comments>http://adil.2scomplement.com/2009/06/django-how-to-get-model-class-from-model-class-name/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 07:17:52 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web-Development]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[class from string]]></category>
		<category><![CDATA[ContentType]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=170</guid>
		<description><![CDATA[How do you get the model class object from a string containing model name?
This came up multiple times during SeenReport development. While recording views, saving votes and adding comment on an object, I had to get the model class using the model name. The scenario would be,

The view receives the model name and object id
Fetch [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/' rel='bookmark' title='Permanent Link: django: Hacking django object_list to take list of templates'>django: Hacking django object_list to take list of templates</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/06/django-how-to-get-model-class-from-model-class-name/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>django: How to expire session on browser close</title>
		<link>http://adil.2scomplement.com/2009/04/django-how-to-expire-session-on-browser-close/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=django-how-to-expire-session-on-browser-close</link>
		<comments>http://adil.2scomplement.com/2009/04/django-how-to-expire-session-on-browser-close/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 14:43:20 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web-Development]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[browser close]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[set_expiry]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=94</guid>
		<description><![CDATA[django employs cookies to track the user session. settings.SESSION_COOKIE_AGE defines the session expiration age in seconds. So, the user logs in once and can stay logged in for hours (even days).
But what if a user wants the session to expire as soon as the browser is closed? This is perfectly desirable for users on public/shared [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/' rel='bookmark' title='Permanent Link: django: Hacking django object_list to take list of templates'>django: Hacking django object_list to take list of templates</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/04/django-how-to-expire-session-on-browser-close/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cycorder, a free video app for iPhone</title>
		<link>http://adil.2scomplement.com/2009/03/video-on-iphone-now-possible/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=video-on-iphone-now-possible</link>
		<comments>http://adil.2scomplement.com/2009/03/video-on-iphone-now-possible/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 15:29:48 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Cycorder]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=93</guid>
		<description><![CDATA[So you&#8217;ve got your hands on that sexy looking iPhone (2G/3G), you are feeling really proud of yourself, looking down on all those Nokia, Samsung, Sony Ericsson users.

Now you are showing it off to your friends, making them jealous by moving your fingers over the wide screen and enjoying the videos downloaded from youtube. When [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/03/video-on-iphone-now-possible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running a MAC on Vostro 1510</title>
		<link>http://adil.2scomplement.com/2009/03/running-a-mac-on-vostro-1510/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=running-a-mac-on-vostro-1510</link>
		<comments>http://adil.2scomplement.com/2009/03/running-a-mac-on-vostro-1510/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 15:02:28 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Dell vostro 1510]]></category>
		<category><![CDATA[dual boot with Vista]]></category>
		<category><![CDATA[hackintosh]]></category>
		<category><![CDATA[Mac 10.5.5]]></category>
		<category><![CDATA[OSx86]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=92</guid>
		<description><![CDATA[This year when I decide to get a laptop, I initially wanted to buy a Mac Book. But I turned it down after looking at the price tag which to me was absurdly high. Instead decided to buy a Dell Vostro 1510 and then may be install Mac on it (just to say I am [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/03/running-a-mac-on-vostro-1510/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Twitter as a feedback/review service?</title>
		<link>http://adil.2scomplement.com/2009/03/twitter-as-a-feedbackreview-service/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=twitter-as-a-feedbackreview-service</link>
		<comments>http://adil.2scomplement.com/2009/03/twitter-as-a-feedbackreview-service/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 08:45:21 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[consumer reviews]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=91</guid>
		<description><![CDATA[A couple of days ago, I was using (or trying to use) Wateen wimax internet at home and I couldnt get more than 2 KB/sec. To make matters worse, my server crashed and I had to download a 10KB file, change it and upload it back to server. With the blazing speed of Wateen @ [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/03/twitter-as-a-feedbackreview-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>django: generating absolute URLs</title>
		<link>http://adil.2scomplement.com/2009/02/django-generating-absolute-urls/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=django-generating-absolute-urls</link>
		<comments>http://adil.2scomplement.com/2009/02/django-generating-absolute-urls/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 15:05:05 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web-Development]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[absolute urls]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=90</guid>
		<description><![CDATA[As I mentioned earlier, django provides a convenient and highly de-coupled way to manipulate URLs. At the heart of this functionality is django.core.urlresolver.reverse. This function however generates relative URLs e.g. /album/my-first-album/
At See&#8217;n'Report, we wanted every user to have a sub-domain so, hitting http://username.seenreport.com takes you to the user profile. But this created a small problem; all [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/' rel='bookmark' title='Permanent Link: django: Hacking django object_list to take list of templates'>django: Hacking django object_list to take list of templates</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/02/django-generating-absolute-urls/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twitter users in Pakistan:Tweet via SMS to a local number</title>
		<link>http://adil.2scomplement.com/2009/02/update-your-twitter-status-via-sms-to-a-local-number/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=update-your-twitter-status-via-sms-to-a-local-number</link>
		<comments>http://adil.2scomplement.com/2009/02/update-your-twitter-status-via-sms-to-a-local-number/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 20:43:40 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web-Development]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[iSMS]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=89</guid>
		<description><![CDATA[
Twitter is a well known name to almost every blogger. It provides a convenient and concise way to announce to the world what you are doing as well as get updates on what others are doing. Along with other modes, you can update your status by sending an SMS to Twitter. This way, you can broadcast [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/02/update-your-twitter-status-via-sms-to-a-local-number/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>django: playing with upload_to field</title>
		<link>http://adil.2scomplement.com/2009/01/django-playing-with-upload_to-field/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=django-playing-with-upload_to-field</link>
		<comments>http://adil.2scomplement.com/2009/01/django-playing-with-upload_to-field/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 15:35:34 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[dynamic path]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=88</guid>
		<description><![CDATA[Django provides models.FileField &#38; models.ImageField to save uploaded files &#38; images respectively. Both these fields take a parameters &#8216;upload_to&#8217; which defines the path where the uploaded file will be saved (complete path is settings.MEDIA_ROOT + upload_to). You can play some neat tricks with this little feature.
Creating the date based folders at run time
You can use the [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/12/django-hacking-django-views-generic-list_detail-object_list-to-take-list-of-templates/' rel='bookmark' title='Permanent Link: django: Hacking django object_list to take list of templates'>django: Hacking django object_list to take list of templates</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/01/django-playing-with-upload_to-field/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
