<?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</title>
	<atom:link href="http://adil.2scomplement.com/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 [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/04/django-how-to-expire-session-on-browser-close/' rel='bookmark' title='Permanent Link: django: How to expire session on browser close'>django: How to expire session on browser close</a></li><li><a href='http://adil.2scomplement.com/2009/06/django-how-to-get-model-class-from-model-class-name/' rel='bookmark' title='Permanent Link: django: How to get model class from model name'>django: How to get model class from model name</a></li></ol>]]></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 [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/06/isamaa-powered-by-seenreport/' rel='bookmark' title='Permanent Link: iSamaa &#8211; Powered by SeenReport, our first sale'>iSamaa &#8211; Powered by SeenReport, our first sale</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/09/seenreport-closes-first-round-of-funding/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Pakistan Cricket &#8211; Snatching defeat from the jaws of victory</title>
		<link>http://adil.2scomplement.com/2009/07/pakistan-cricket-snatching-defeat-from-the-jaws-of-victory/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=pakistan-cricket-snatching-defeat-from-the-jaws-of-victory</link>
		<comments>http://adil.2scomplement.com/2009/07/pakistan-cricket-snatching-defeat-from-the-jaws-of-victory/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 19:46:13 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Cricket]]></category>
		<category><![CDATA[loss]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[Sri Lanka]]></category>
		<category><![CDATA[test match series]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=185</guid>
		<description><![CDATA[Yesterday, Pakistan Cricket team successfully lost a test match to Sri Lanka (details). Pakistan team needed 97 runs to win on the 4th day of the match and successfully lost all wickets for 47 runs. For its wonderful ability to pull a defat from the jaws of the victory, the team deserves a hearty congratulations. [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/06/younis-khan-is-he-smoking-pot/' rel='bookmark' title='Permanent Link: Younis Khan, Is he smoking pot?'>Younis Khan, Is he smoking pot?</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/07/pakistan-cricket-snatching-defeat-from-the-jaws-of-victory/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iSamaa &#8211; Powered by SeenReport, our first sale</title>
		<link>http://adil.2scomplement.com/2009/06/isamaa-powered-by-seenreport/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=isamaa-powered-by-seenreport</link>
		<comments>http://adil.2scomplement.com/2009/06/isamaa-powered-by-seenreport/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:21:45 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Achievements]]></category>
		<category><![CDATA[first sale]]></category>
		<category><![CDATA[iSamaa]]></category>
		<category><![CDATA[Samaa]]></category>
		<category><![CDATA[SeenReport]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=161</guid>
		<description><![CDATA[
This news has been in the pipeline for quite some time. We wanted to break this news earlier, but there was a lot of work to be done. Now that most (if not all) of the work is complete, I can proudly announce,
SeenReport has secured Samaa tv as its first client. SeenReport will provide its [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/09/seenreport-closes-first-round-of-funding/' rel='bookmark' title='Permanent Link: SeenReport closes first round of funding'>SeenReport closes first round of funding</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/06/isamaa-powered-by-seenreport/feed/</wfw:commentRss>
		<slash:comments>13</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><li><a href='http://adil.2scomplement.com/2009/04/django-how-to-expire-session-on-browser-close/' rel='bookmark' title='Permanent Link: django: How to expire session on browser close'>django: How to expire session on browser close</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>3</slash:comments>
		</item>
		<item>
		<title>Younis Khan, Is he smoking pot?</title>
		<link>http://adil.2scomplement.com/2009/06/younis-khan-is-he-smoking-pot/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=younis-khan-is-he-smoking-pot</link>
		<comments>http://adil.2scomplement.com/2009/06/younis-khan-is-he-smoking-pot/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 09:41:34 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Cricket]]></category>
		<category><![CDATA[Cricket team]]></category>
		<category><![CDATA[Pakistan]]></category>
		<category><![CDATA[T20]]></category>
		<category><![CDATA[World cup]]></category>
		<category><![CDATA[Younis Khan]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=154</guid>
		<description><![CDATA[Pakistan cricket team has seen its share of bad moments. From its losses to India (WC 96), Bangladesh (WC 99), Ireland (WC 07) to first round exists in WC 03 &#38; 07. But at the end of every defeat there was at least a sense of shame if not determination. However, this time Younis Khan [...]


Related posts:<ol><li><a href='http://adil.2scomplement.com/2009/07/pakistan-cricket-snatching-defeat-from-the-jaws-of-victory/' rel='bookmark' title='Permanent Link: Pakistan Cricket &#8211; Snatching defeat from the jaws of victory'>Pakistan Cricket &#8211; Snatching defeat from the jaws of victory</a></li></ol>]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/06/younis-khan-is-he-smoking-pot/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>No I dont want to tell you my shares in my company</title>
		<link>http://adil.2scomplement.com/2009/05/no-i-dont-want-to-tell-you-my-shares-in-my-company/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=no-i-dont-want-to-tell-you-my-shares-in-my-company</link>
		<comments>http://adil.2scomplement.com/2009/05/no-i-dont-want-to-tell-you-my-shares-in-my-company/#comments</comments>
		<pubDate>Sat, 23 May 2009 20:06:25 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Startups]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[stakes]]></category>
		<category><![CDATA[stupid questions]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=148</guid>
		<description><![CDATA[ 
I get a lot of irrelevant and annoying questions while talking to people, but none is more annoying than this one,
How much shares do you own in the company?
The weird thing is that it never comes from my friends, but from people who I cant befriend even in a million years. This is how it [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/05/no-i-dont-want-to-tell-you-my-shares-in-my-company/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>An advice before you seek advice</title>
		<link>http://adil.2scomplement.com/2009/05/an-advice-before-you-seek-advice/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=an-advice-before-you-seek-advice</link>
		<comments>http://adil.2scomplement.com/2009/05/an-advice-before-you-seek-advice/#comments</comments>
		<pubDate>Mon, 18 May 2009 13:50:52 +0000</pubDate>
		<dc:creator>Adil Saleem</dc:creator>
				<category><![CDATA[Startups]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[advice]]></category>
		<category><![CDATA[entrepreneurs]]></category>
		<category><![CDATA[students]]></category>

		<guid isPermaLink="false">http://adil.2scomplement.com/?p=97</guid>
		<description><![CDATA[ 
I meet a lot of students and budding entrepreneurs who are looking for advice ranging from projects, technology choices, academia, business and startups. The simple fact that someone chooses to listen to my opinion humbles me and I try my best to help them in best possible manner.
I was very intrigued by the post by [...]


No related posts.]]></description>
		<wfw:commentRss>http://adil.2scomplement.com/2009/05/an-advice-before-you-seek-advice/feed/</wfw:commentRss>
		<slash:comments>0</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><li><a href='http://adil.2scomplement.com/2009/06/django-how-to-get-model-class-from-model-class-name/' rel='bookmark' title='Permanent Link: django: How to get model class from model name'>django: How to get model class from model name</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>
	</channel>
</rss>
