<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>django &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/django/</link>
	<description>Feed of posts on WordPress.com tagged "django"</description>
	<pubDate>Wed, 15 Oct 2008 22:17:21 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Ускоряем работу локального сервера в App Engine]]></title>
<link>http://techworkru.wordpress.com/?p=595</link>
<pubDate>Wed, 15 Oct 2008 10:57:10 +0000</pubDate>
<dc:creator>techworkru</dc:creator>
<guid>http://techwork.ru/2008/10/15/speed-up-fetching-static-files/</guid>
<description><![CDATA[Скорее всего многие разработчики, отлаживающие больши]]></description>
<content:encoded><![CDATA[<p>Скорее всего многие разработчики, отлаживающие большие проекты под локальным сервером разработки в App Engine, столкнулись с проблемой его однопоточности. Если на странице содержится куча внешних css, js файлов и картинок, ожидание ее загрузки может вывести из себя даже стойкого человека.</p>
<p>Мы рассмотрим способ выноса статического содержимого приложения Django для обслуживания его сторонним сервером на базе пакета SimpleHTTPServer.</p>
<p>Сначала создаем скрипт, который будет использован для старта обоих серверов:</p>
<pre>
<div class="bash" style="font-family:monospace;color:#000000;">python simplehttpserver.py &#38;
dev_appserver.py -d --<span style="color:#0000ff;">datastore_path=</span><span style="color:#ff0000;">"dev_appserver.datastore"</span> .</div>
</pre>
<p>Создаем файл simplehttpserver.py со следующим содержимым:</p>
<pre>
<div class="python" style="font-family:monospace;color:#000000;"><span style="font-weight:bold;color:#ff7700;">try</span>:
    <span style="font-weight:bold;color:#ff7700;">import</span> <span style="color:#dc143c;">SimpleHTTPServer</span>
    <span style="font-weight:bold;color:#ff7700;">import</span> <span style="color:#dc143c;">SocketServer</span>
    port = <span style="color:#ff4500;">9000</span>
    Handler = <span style="color:#dc143c;">SimpleHTTPServer</span>.<span style="color:black;">SimpleHTTPRequestHandler</span>
    httpd = <span style="color:#dc143c;">SocketServer</span>.<span style="color:black;">TCPServer</span><span style="color:black;">(</span><span style="color:#ff0099;"><span style="color:black;">(</span></span><span style="color:#483d8b;">""</span><span style="color:#ff0099;">,</span> PORT<span style="color:black;">)</span><span style="color:#ff0099;">,</span> Handler<span style="color:black;">)</span>
    httpd.<span style="color:black;">serve_forever</span><span style="color:black;">(</span><span style="color:#ff0099;"><span style="color:black;">)</span></span>
<span style="font-weight:bold;color:#ff7700;">except</span>:
    <span style="font-weight:bold;color:#ff7700;">pass</span></div>
</pre>
<p>Исключение будет срабатывать в том случае, если порт уже занят (сервер запускается повторно). Далее напишем специальную функцию, которая будет принимать в своих параметрах объекты фреймворка Django <strong>HttpResponse</strong> и <strong>HttpRequest</strong>, и при необходимости перенаправлять браузер на сервер со статическим содержимым (если сервер запущен локально). Для повторного использования ее лучше вынести в отдельный файл (например,<em> utils.py</em>).</p>
<pre>
<div class="python" style="font-family:monospace;color:#000000;"><span style="font-weight:bold;color:#ff7700;">def</span> goFast<span style="color:black;">(</span>request,response<span style="color:black;">)</span><span style="color:#ff0099;">:</span>
    developing = onDevelServer<span style="color:black;">(</span>request<span style="color:black;">)</span>
    <span style="font-weight:bold;color:#ff7700;">if</span> developing:
        <span style="font-weight:bold;color:#ff7700;">for</span> folder <span style="font-weight:bold;color:#ff7700;">in</span> <span style="color:black;">[</span><span style="color:#483d8b;">'images'</span>,<span style="color:#483d8b;">'css'</span>,<span style="color:#483d8b;">'js'</span><span style="color:black;">]</span><span style="color:#ff0099;">:</span>
            <span style="color:#008000;">dir</span> = <span style="color:#483d8b;">'http://localhost:9000/%s/'</span> <span style="color:#1c6c9d;">%</span> folder
            response.<span style="color:black;">content</span> = response.<span style="color:black;">content</span>.<span style="color:black;">replace</span><span style="color:black;">(</span><span style="color:#483d8b;">'/%s/'</span> <span style="color:#1c6c9d;">%</span> folder,<span style="color:#008000;">dir</span><span style="color:black;">)</span>
    <span style="font-weight:bold;color:#ff7700;">return</span> response
<span style="font-weight:bold;color:#ff7700;">def</span> onDevelServer<span style="color:black;">(</span>request<span style="color:black;">)</span><span style="color:#ff0099;">:</span>
    <span style="font-weight:bold;color:#ff7700;">return</span> request.<span style="color:black;">META</span><span style="color:black;">[</span><span style="color:#483d8b;">'SERVER_NAME'</span><span style="color:black;">]</span> == <span style="color:#483d8b;">'localhost'</span></div>
</pre>
<p>Этот код выполняет замену в ответе адрес '/images/homepage_logo.png' на 'http://localhost:9000/images/homepage_logo.png'. Ну и в завершении, модифицируем функцию render_to_response:</p>
<pre>
<div class="python" style="font-family:monospace;color:#000000;"><span style="font-weight:bold;color:#ff7700;">from</span> django.<span style="color:black;">shortcuts</span> <span style="font-weight:bold;color:#ff7700;">import</span> render_to_response as r2r
<span style="font-weight:bold;color:#ff7700;">from</span> services.<span style="color:black;">utils</span> <span style="font-weight:bold;color:#ff7700;">import</span> goFast
<span style="font-weight:bold;color:#ff7700;">def</span> render_to_response<span style="color:black;">(</span>template, ls<span style="color:black;">)</span><span style="color:#ff0099;">:</span>
    <span style="font-weight:bold;color:#ff7700;">return</span> goFast<span style="color:black;">(</span>ls<span style="color:black;">[</span><span style="color:#483d8b;">'request'</span><span style="color:black;">]</span><span style="color:#ff0099;">,</span> r2r<span style="color:black;">(</span>template,ls<span style="color:black;">)</span><span style="color:#ff0099;"><span style="color:black;">)</span></span></div>
</pre>
<p>Это все, теперь можно насладиться скоростью работы!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[FOWA pre-interview: Tim Bray]]></title>
<link>http://futureofwebapps.wordpress.com/?p=210</link>
<pubDate>Wed, 15 Oct 2008 10:02:49 +0000</pubDate>
<dc:creator>simondev</dc:creator>
<guid>http://futureofwebapps.pl.wordpress.com/2008/10/15/fowa-pre-interview-tim-bray/</guid>
<description><![CDATA[By Simon Willison, Program Chair, Developer Track
Tim Bray is the Director of Web Technologies at Su]]></description>
<content:encoded><![CDATA[<p>By <strong>Simon Willison</strong>, Program Chair, Developer Track</p>
<p><a href="http://www.tbray.org/ongoing/">Tim Bray</a> is the Director of Web Technologies at <a href="http://www.sun.com/">Sun Microsystems</a>. He has a long history of involvement with technology standards, including co-editing the <a href="http://www.w3.org/TR/REC-xml/">XML 1.0 specification</a> and more recently co-chairing the <a href="http://tools.ietf.org/wg/atompub/">IETF Atompub Working Group</a>. Tim will be presenting the morning keynote on Friday the 10th of October.</p>
<p><strong>Your keynote is titled "The Fear Factor: What to be Frightened of in Building A Web Application". Can you give us a few hints?</strong></p>
<p>Based on the events of the last week, we may be called upon to get useful work done without any capital investment for infrastructure. Seems scary to me.  The other front-of-mind worry is the yawning disconnect between the way enterprise software development is done and the best practices emerging in the Web2.0 and OSS spaces.</p>
<p><strong>Are there any skills a web programmer should be developing now that will better prepare them for the next few years?</strong></p>
<p>Most obviously, don't be "an X developer" for any value of X, whether it's Java or .NET or PHP or Rails.  A command of more than one technology makes you more employable and also deepens your understanding of each individual one.</p>
<p><strong>You've long been a champion of developing with multi-core systems in mind, but parallel computing is still too complicated for many developers. Are there any silver bullets on the horizon, or are we all going to have to hunker down and learn Erlang?</strong></p>
<p>No silver bullets.  For conventional shared-nothing web deployments we're in pretty good shape, but compute-intensive and communication-intensive programming is getting tougher and tougher.</p>
<p><strong>What's the most interesting new idea you've seen in the field of web development in the past year?</strong></p>
<p>New database architectures: <a href="http://incubator.apache.org/couchdb/">CouchDB</a> and friends.</p>
<p><strong>PHP is the web programming language that refuses to die. What will it take for an alternative such as Ruby or Python to rival it in popularity?</strong></p>
<p>PHP has sufficient deployed base that it's never going away.  Plus some truly great apps, like <a href="http://wordpress.org/">WordPress</a> and <a href="http://www.mediawiki.org/">MediaWiki</a>, are written in it.  On the other hand, for new app development, I think things like <a href="http://www.djangoproject.com/">Django</a> and <a href="http://www.rubyonrails.org/">Rails</a>, with better maintainability stories, are already stealing market share fast.</p>
<p><strong>Are there any emerging web technologies you think don't get enough publicity? Any hidden gems?</strong></p>
<p>Well, I spent the last few years of my life working on <a href="http://www.atompub.org/">AtomPub</a> and I think it's a real winner, but it's catching on pretty well so I wouldn't say it's "hidden".</p>
<p><strong>What's the one piece of open source software that you really wish someone would write?</strong></p>
<p>A library or framework to make concurrency easy in high-level languages like Ruby or Python.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[galactic federation of viral marketing-galaktische penetration]]></title>
<link>http://coffeecupz.wordpress.com/?p=579</link>
<pubDate>Wed, 15 Oct 2008 00:35:08 +0000</pubDate>
<dc:creator>coffeecupz</dc:creator>
<guid>http://coffeecupz.pl.wordpress.com/2008/10/15/galactic-federation-of-viral-marketing-galaktische-penetration/</guid>
<description><![CDATA[oha
meine fresse
was soll man sagen
dieses  video ist der hammer

on: TheVanDyke
Hinzugefügt: 29. ]]></description>
<content:encoded><![CDATA[<p>oha</p>
<p>meine fresse</p>
<p>was soll man sagen</p>
<p>dieses  video ist der hammer</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/ucir-9kOYzk'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/ucir-9kOYzk&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p><span class="watch-channel-stat">on:</span> <a class="hLink fn n contributor" href="http://www.youtube.com/user/TheVanDyke">TheVanDyke</a><br />
<span class="watch-channel-stat">Hinzugefügt:</span> <span class="watch-video-added post-date">29. September 2008</span></p>
<div id="watch-video-details-toggle" class="expand-panel expanded">
<div class="collapse-content">(<a id="watch-video-desc-toggle-more" class="eLink" href="http://www.youtube.com/watch?v=ucir-9kOYzk#">Weitere Informationen</a>)</div>
<div class="expand-content">(<a class="eLink" href="http://www.youtube.com/watch?v=ucir-9kOYzk#">Weniger Infos</a>)</div>
</div>
<div id="subscribeLoginInvite" class="signInBoxBorder" style="background-color:#ffffff;margin-top:8px;display:none;">
<div class="signInBoxContent"><strong>Du möchtest ein Abo einrichten?</strong><br />
<a href="http://www.youtube.com/login?next=/watch%3Fv%3Ducir-9kOYzk"><strong>Melde dich jetzt bei YouTube an!</strong></a> <span class="smgrayText"> <a href="https://www.google.com/accounts/ServiceLogin?service=youtube&#38;hl=de_DE&#38;passive=true&#38;continue=http%3A//www.youtube.com/signup%3Fhl%3Dde_DE">Melde dich über dein Google-Konto an!</a> </span> <a rel="nofollow" href="http://www.youtube.com/watch?v=ucir-9kOYzk#"><img class="alignMid gaiaHelpBtn" src="http://s.ytimg.com/yt/img/pixel-vfl73.gif" border="0" alt="" /></a></div>
</div>
<div id="watch-video-details" class="expand-panel expanded">
<div id="watch-video-details-inner">
<div class="collapse-content">
<div class="watch-video-desc"><span class="description">I didn't make this video. It is a viral video design... </span></div>
</div>
<div class="expand-content">
<div class="watch-video-desc description"><span>I didn't make this video. It is a viral video design to lessen the panic when they do arrive 14 days from now. This video contains channeled predictions from Blossom and videos like this <a title="http://www.youtube.com/watch?v=ZOF7IIQYmlI" rel="nofollow" href="http://www.youtube.com/watch?v=ZOF7IIQYmlI" target="_blank">http://www.youtube.com/watch?v=ZOF7II...</a> and others. The message you see there is from Blossom Goodchild - which she is forecasting a HUGE space ship. Get ready for October 14, 2008, people.</p>
<p>A note from Blossom:</p>
<p>"I am aware that Alabama is NOT in the Southern Hemisphere. I queried this to the Federation and was told In days of old, it used to be. If anyone can find information on this, I would be most grateful if you could contact me via my website. It has also been suggested that Alabama maybe the name of a craft. On researching it appears that Alabama has a NASA space centre." For more info visit her website <a title="http://www.blossomgoodchild.com/BGoct14.html" rel="nofollow" href="http://www.blossomgoodchild.com/BGoct14.html" target="_blank">http://www.blossomgoodchild.com/BGoct...</a></p>
<p></span></div>
<div id="watch-category"><span class="watch-channel-stat">Kategorie: </span> <a id="watch-video-category" class="hLink category" href="http://www.youtube.com/browse?s=mp&#38;t=t&#38;c=22">Leute &#38; Blogs</a></div>
<div id="watch-video-tags-div">
<div class="floatL"><span class="watch-channel-stat">Tags: </span></div>
<div id="watch-video-tags" class="floatL"><a class="hLink" href="http://www.youtube.com/results?search_query=Death&#38;search=tag">Death</a> <a class="hLink" href="http://www.youtube.com/results?search_query=Star&#38;search=tag">Star</a> <a class="hLink" href="http://www.youtube.com/results?search_query=over&#38;search=tag">over</a> <a class="hLink" href="http://www.youtube.com/results?search_query=San&#38;search=tag">San</a> <a class="hLink" href="http://www.youtube.com/results?search_query=Francisco&#38;search=tag">Francisco</a> <a class="hLink" href="http://www.youtube.com/results?search_query=october&#38;search=tag">october</a> <a class="hLink" href="http://www.youtube.com/results?search_query=14&#38;search=tag">14</a> <a class="hLink" href="http://www.youtube.com/results?search_query=2008&#38;search=tag">2008</a> <a class="hLink" href="http://www.youtube.com/results?search_query=2012&#38;search=tag">2012</a> <a class="hLink" href="http://www.youtube.com/results?search_query=ufo&#38;search=tag">ufo</a> <a class="hLink" href="http://www.youtube.com/results?search_query=star&#38;search=tag">star</a> <a class="hLink" href="http://www.youtube.com/results?search_query=wars&#38;search=tag">wars</a> <a class="hLink" href="http://www.youtube.com/results?search_query=Blossom&#38;search=tag">Blossom</a> <a class="hLink" href="http://www.youtube.com/results?search_query=Goodchild&#38;search=tag">Goodchild</a> <a class="hLink" href="http://www.youtube.com/results?search_query=prediction&#38;search=tag">prediction</a> <a class="hLink" href="http://www.youtube.com/results?search_query=10&#38;search=tag">10</a> <a class="hLink" href="http://www.youtube.com/results?search_query=08&#38;search=tag">08</a></div>
</div>
</div>
</div>
</div>
<p>------------------------------------------------------------------------------------</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/vj29qmLnBiE'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/vj29qmLnBiE&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<h1 class="firstHeading"><a href="http://de.wikipedia.org/wiki/Viral">Viral</a></h1>
<h3><a href="http://de.wikipedia.org/wiki/Viral">aus Wikipedia, der freien Enzyklopädie</a></h3>
<div id="jump-to-nav">Wechseln zu: <a href="http://de.wikipedia.org/wiki/Viral#column-one">Navigation</a>, <a href="http://de.wikipedia.org/wiki/Viral#searchInput">Suche</a></div>
<p><!-- start content -->Ein <strong>Viral</strong> ist ein <a title="Werbespot" href="http://de.wikipedia.org/wiki/Werbespot">Werbespot</a>, der eigens für das Internet produziert wird. Sein Name leitet sich ab von der Werbeform, innerhalb derer er konzipiert und eingesetzt wird, dem <a title="Virales Marketing" href="http://de.wikipedia.org/wiki/Virales_Marketing">viralen Marketing</a>.</p>
<p>Seine Konzeption ist darauf angelegt, dass sich Internet-User den Viral oder einen Link auf den Viral weiterleiten, weil er ihnen gefällt. Dementsprechend verletzt ein Viral oft absichtlich die formalen und inhaltlichen Konventionen von Fernseh- und Kinowerbung, um einen dafür ausreichend hohen Aufmerksamkeitswert zu erzielen.</p>
<h1 class="firstHeading">Virales Marketing</h1>
<h3>aus Wikipedia, der freien Enzyklopädie</h3>
<div id="jump-to-nav">Wechseln zu: <a href="http://de.wikipedia.org/wiki/Virales_Marketing#column-one">Navigation</a>, <a href="http://de.wikipedia.org/wiki/Virales_Marketing#searchInput">Suche</a></div>
<p><!-- start content --><strong>Virales Marketing</strong> (auch <strong>Viral-Marketing</strong> oder manchmal <strong>Virus-Marketing</strong>, kurz <strong>VM</strong>) ist eine <a title="Marketing" href="http://de.wikipedia.org/wiki/Marketing">Marketingform</a>, die existierende <a title="Soziales Netzwerk (Informatik)" href="http://de.wikipedia.org/wiki/Soziales_Netzwerk_%28Informatik%29">soziale Netzwerke</a> und Medien ausnutzt, um Aufmerksamkeit auf Marken, Produkte oder Kampagnen zu lenken, indem sich Nachrichten <a title="Epidemie" href="http://de.wikipedia.org/wiki/Epidemie">epidemisch</a>, wie ein <a title="Viren" href="http://de.wikipedia.org/wiki/Viren">Virus</a> ausbreiten sollen. Die Verbreitung der Nachrichten basiert damit letztlich auf <a title="Mundpropaganda" href="http://de.wikipedia.org/wiki/Mundpropaganda">Mundpropaganda</a>, also der Kommunikation zwischen den Kunden oder Konsumenten. Intensiv genutzt wird Virales Marketing insbesondere auch zunehmend durch sogenannte „nichtstaatliche Organisationen“ (<a title="NGO" href="http://de.wikipedia.org/wiki/NGO">NGOs</a>).</p>
<p>Vor allem im <a title="Internet" href="http://de.wikipedia.org/wiki/Internet">Internet</a> kann virale Verbreitung von Marketingbotschaften funktionieren. Ein besonders bekanntes Beispiel ist das kostenlose <a title="Werbespiel" href="http://de.wikipedia.org/wiki/Werbespiel">Werbespiel</a> <a title="Moorhuhn (Computerspiel)" href="http://de.wikipedia.org/wiki/Moorhuhn_%28Computerspiel%29">Moorhuhn</a>,</p>
<p>........................................................</p>
<p><a href="http://de.wikipedia.org/wiki/Virales_Marketing">klicke hier und jetzt, ERDLING !</a></p>
<p><a href="http://de.wikipedia.org/wiki/Virales_Marketing">erscheinen dir wird der ganze artikel</a></p>
<p>------------------------------------------------------</p>
<p>ja ja ja</p>
<p>die gute</p>
<p>liebesbeseelte <strong>galaktische penetration </strong></p>
<p>------------------------------</p>
<p>WIR WOLLEN SEHEN WAS WIR GLAUBEN</p>
<p>und andere nutzen das aus</p>
<p>und das verdammt clever</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/xVWb6I0V9Fk'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/xVWb6I0V9Fk&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/bBdWrlcUYJk'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/bBdWrlcUYJk&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p>------------------------------------------------------------</p>
<p>und nun mein neues video</p>
<p>was soll ich sagen</p>
<p>innerhalb von einer stunde 227 clicks</p>
<p>das thema -der hype, ist doch noch nicht vorbei ...</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/crXVYRlcfyc'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/crXVYRlcfyc&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p>ACH JA DIE FÖDERATION MACHT AUCH WEITER</p>
<p>MIT DEN SPRÜCHEN DIE ZU ERWARTEN GEWESEN SIND</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/o2-mwq9wZiA'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/o2-mwq9wZiA&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Summary: Writing your first Django app]]></title>
<link>http://ijemmy.wordpress.com/?p=214</link>
<pubDate>Tue, 14 Oct 2008 09:46:27 +0000</pubDate>
<dc:creator>ijemmy</dc:creator>
<guid>http://ijemmy.pl.wordpress.com/2008/10/14/summary-writing-your-first-django-app/</guid>
<description><![CDATA[After started reading Writing your first Django app for the second time, I decided that I should rea]]></description>
<content:encoded><![CDATA[<p>After started reading <a href="http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01">Writing your first Django app</a> for the second time, I decided that I should really take a note. It should be very helpful for reminding a lot of details covered in this tutorial</p>
<p>It is intended to be used by myself. So it'll be quite hard to read.</p>
<p>Create project</p>
<ol>
<li><tt class="docutils literal"><span class="pre">go to .../django/bin</span></tt></li>
<li><tt class="docutils literal"><span class="pre">django-admin.py</span> <span class="pre">startproject</span> <span class="pre">mysite</span></tt></li>
<li><tt class="docutils literal"><span class="pre">You will get 4 files</span></tt><br />
<blockquote>
<pre>mysite/
    __init__.py
    manage.py
    settings.py
    urls.py</pre>
</blockquote>
</li>
</ol>
<p>Starting Server &#38; Setting</p>
<ul>
<li><tt class="docutils literal"><span class="pre">manage.py</span> <span class="pre">runserver</span></tt></li>
<li>DATABASE_ENGINE = 'sqlite3'</li>
<li>DATABASE_NAME = 'C:/xxx/yyy.db' (Note: use frontslashes)</li>
<li>DATABASE_USER = '' (not used for SQLite).</li>
<li>DATABASE_PASSWORD = '' (not used for SQLite).</li>
<li>DATABASE_HOST = '' (not used for SQLite).</li>
<li><a class="reference external" href="http://docs.djangoproject.com/en/dev/ref/settings/#setting-INSTALLED_APPS"><tt class="xref docutils literal"><span class="pre">INSTALLED_APPS</span></tt></a> &#60;&#60; add your applications</li>
</ul>
<p>manage.py commands</p>
<ul>
<li> manage.py syncdb</li>
<li> manage.py startapp [appname] (don't forget to update INSTALLED_APP</li>
<li> manage.py shell</li>
<li>manage.py validate  -- Checks for any errors in the construction of your models.</li>
<li>manage.py sqlcustom [appname]-- Outputs any <a class="reference external" href="http://docs.djangoproject.com/en/dev/howto/initial-data/#initial-sql"><em>custom SQL statements</em></a> (such as table modifications or constraints) that are defined for the application.</li>
<li>manage.py sqlclear [appname] -- Outputs the necessary <tt class="docutils literal"><span class="pre">DROP</span> <span class="pre">TABLE</span></tt> statements for this app, according to which tables already exist in your database (if any).</li>
<li>manage.py sqlindexes&#60; -- Outputs the <tt class="docutils literal"><span class="pre">CREATE</span> <span class="pre">INDEX</span></tt> statements for this app.</li>
<li><tt class="xref docutils literal"><span class="pre">manage.py</span> <span class="pre">sqlall</span> [appname]</tt>-- A combination of all the SQL from the <tt class="xref docutils literal"><span class="pre">sql</span></tt>, <tt class="xref docutils literal"><span class="pre">sqlcustom</span></tt>, and <tt class="xref docutils literal"><span class="pre">sqlindexes</span></tt> commands.</li>
</ul>
<p>Model and interactions</p>
<ul>
<li>
<pre><span class="k">__str__

</span><span class="k">class</span> <span class="nc">Poll</span><span class="p">(</span><span class="n">models</span><span class="o">.</span><span class="n">Model</span><span class="p">):</span>
    <span class="c"># ...</span>
    <span class="k">def</span> <span class="nf">__unicode__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">question</span></pre>
</li>
<li>
<pre><span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">all</span><span class="p">()</span></pre>
</li>
<li>
<pre><span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="nb">id</span><span class="o">=</span><span class="mf">1</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="n">question__startswith</span><span class="o">=</span><span class="s">'What'</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">pub_date__year</span><span class="o">=</span><span class="mf">2007</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="nb">id</span><span class="o">=</span><span class="mf">2</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">p</span> <span class="o">=</span> <span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">pk</span><span class="o">=</span><span class="mf">1</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">p</span><span class="o">.</span><span class="n">was_published_today</span><span class="p">()</span></pre>
</li>
<li>
<pre><span class="n">p</span><span class="o">.</span><span class="n">choice_set</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">choice</span><span class="o">=</span><span class="s">'Not much'</span><span class="p">,</span> <span class="n">votes</span><span class="o">=</span><span class="mf">0</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">c</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="n">choice_set</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="n">choice</span><span class="o">=</span><span class="s">'Just hacking again'</span><span class="p">,</span> <span class="n">votes</span><span class="o">=</span><span class="mf">0</span></pre>
</li>
<li>
<pre><span class="n">p</span><span class="o">.</span><span class="n">choice_set</span><span class="o">.</span><span class="n">all</span><span class="p">()</span></pre>
</li>
<li>
<pre><span class="n">p</span><span class="o">.</span><span class="n">choice_set</span><span class="o">.count</span><span class="p">()</span></pre>
</li>
<li>
<pre><span class="n">Choice</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="n">poll__pub_date__year</span><span class="o">=</span><span class="mf">2007</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">c</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="n">choice_set</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="n">choice__startswith</span><span class="o">=</span><span class="s">'Just hacking'</span><span class="p">)</span></pre>
</li>
<li>
<pre><span class="n">c</span><span class="o">.</span><span class="n">delete</span><span class="p">()</span></pre>
</li>
</ul>
<p>Activating and Customizing admin application</p>
<ol>
<li>Add <tt class="docutils literal"><span class="pre">"django.contrib.admin"</span></tt> to your <a class="reference external" href="http://docs.djangoproject.com/en/dev/ref/settings/#setting-INSTALLED_APPS"><tt class="xref docutils literal"><span class="pre">INSTALLED_APPS</span></tt></a> setting.</li>
<li><tt class="docutils literal"><span class="pre">manage.py</span> <span class="pre">syncdb</span></tt></li>
<li><tt class="docutils literal"><span class="pre">edit </span></tt><tt class="docutils literal"><span class="pre">urls.py</span></tt> by adding two lines below + uncomment the last line
<pre class="literal-block"><strong>from django.contrib import admin</strong>
<strong>admin.autodiscover()</strong></pre>
</li>
<li>create admin.py in your application, put these lines
<div class="highlight">
<pre><strong><span class="k">from</span> <span class="nn">mysite.polls.models</span> <span class="k">import</span> <span class="n">Poll</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">site</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">Poll</span><span class="p">)</span></strong></pre>
</div>
</li>
<li>customize the form by changing admin.py
<pre><strong><span class="k">class</span> <span class="nc">PollAdmin</span><span class="p">(</span><span class="n">admin</span><span class="o">.</span><span class="n">ModelAdmin</span><span class="p">):</span>
    <span class="n">fields</span> <span class="o">=</span> <span class="p">[</span><span class="s">'pub_date'</span><span class="p">,</span> <span class="s">'question'</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">register</span><span class="p">(</span><span class="n">Poll</span><span class="p">,</span> <span class="n">PollAdmin</span><span class="p">)</span></strong></pre>
</li>
<li>to split fieldsets
<pre><strong><span class="k">class</span> <span class="nc">PollAdmin</span><span class="p">(</span><span class="n">admin</span><span class="o">.</span><span class="n">ModelAdmin</span><span class="p">):</span>
    <span class="n">fieldsets</span> <span class="o">=</span> <span class="p">[</span>
        <span class="p">(</span><span class="bp">None</span><span class="p">,</span>               <span class="p">{</span><span class="s">'fields'</span><span class="p">:</span> <span class="p">[</span><span class="s">'question'</span><span class="p">]}),</span>
        <span class="p">(</span><span class="s">'Date information'</span><span class="p">,</span> <span class="p">{</span><span class="s">'fields'</span><span class="p">:</span> <span class="p">[</span><span class="s">'pub_date'</span><span class="p">]}),</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">register</span><span class="p">(</span><span class="n">Poll</span><span class="p">,</span> <span class="n">PollAdmin</span><span class="p">)</span></strong></pre>
</li>
<li>Add choice in Poll page  (can use <tt class="docutils literal"><span class="pre">TabularInline</span></tt> instead of StackedInline)
<pre><strong><span class="k">class</span> <span class="nc">ChoiceInline</span><span class="p">(</span><span class="n">admin</span><span class="o">.</span><span class="n">StackedInline</span><span class="p">):</span>
    <span class="n">model</span> <span class="o">=</span> <span class="n">Choice</span>
    <span class="n">extra</span> <span class="o">=</span> <span class="mf">3</span>

<span class="k">class</span> <span class="nc">PollAdmin</span><span class="p">(</span><span class="n">admin</span><span class="o">.</span><span class="n">ModelAdmin</span><span class="p">):</span>
    <span class="n">fieldsets</span> <span class="o">=</span> <span class="p">[</span>
        <span class="p">(</span><span class="bp">None</span><span class="p">,</span>               <span class="p">{</span><span class="s">'fields'</span><span class="p">:</span> <span class="p">[</span><span class="s">'question'</span><span class="p">]}),</span>
        <span class="p">(</span><span class="s">'Date information'</span><span class="p">,</span> <span class="p">{</span><span class="s">'fields'</span><span class="p">:</span> <span class="p">[</span><span class="s">'pub_date'</span><span class="p">],</span> <span class="s">'classes'</span><span class="p">:</span> <span class="p">[</span><span class="s">'collapse'</span><span class="p">]}),</span>
    <span class="p">]</span>
    <span class="n">inlines</span> <span class="o">=</span> <span class="p">[</span><span class="n">ChoiceInline</span><span class="p">]</span></strong></pre>
</li>
<li>Show details in list page
<pre><strong><span class="k">class</span> <span class="nc">PollAdmin</span><span class="p">(</span><span class="n">admin</span><span class="o">.</span><span class="n">ModelAdmin</span><span class="p">):</span>
    <span class="c"># ...</span>
    <span class="n">list_display</span> <span class="o">=</span> <span class="p">(</span><span class="s">'question'</span><span class="p">,</span> <span class="s">'pub_date'</span><span class="p">,</span> <span class="s">'was_published_today'</span><span class="p">)</span></strong></pre>
<p>Add these lines in model</p>
<pre><strong><span class="k">def</span> <span class="nf">was_published_today</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
    <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">pub_date</span><span class="o">.</span><span class="n">date</span><span class="p">()</span> <span class="o">==</span> <span class="n">datetime</span><span class="o">.</span><span class="n">date</span><span class="o">.</span><span class="n">today</span><span class="p">()</span>
<span class="n">was_published_today</span><span class="o">.</span><span class="n">short_description</span> <span class="o">=</span> <span class="s">'Published today?'</span>
</strong></pre>
</li>
<li>
<pre>Searching
<span class="n">search_fields</span> <span class="o">=</span> <span class="p">[</span><span class="s">'question'</span>]</pre>
</li>
<li>Drill down by date
<pre><span class="n">date_hierarchy</span> <span class="o">=</span> <span class="s">'pub_date</span></pre>
</li>
<li>Customizing template directory in settings.py file
<pre><strong><span class="n">TEMPLATE_DIRS</span> <span class="o">=</span> <span class="p">(</span>
    <span class="s">"/home/my_username/mytemplates"</span><span class="p">,</span> <span class="c"># Change this to your own directory.</span>
<span class="p">)</span>
</strong></pre>
</li>
</ol>
<p>Creating "Views" and URLs</p>
<ol>
<li>Change urls.py
<pre><strong><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'^polls/$'</span><span class="p">,</span> <span class="s">'mysite.polls.views.index'</span><span class="p">),</span>
    <span class="p">(</span><span class="s">r'^polls/(?P&#60;poll_id&#62;\d+)/$'</span><span class="p">,</span> <span class="s">'mysite.polls.views.detail'</span><span class="p">),</span>
    <span class="p">(</span><span class="s">r'^polls/(?P&#60;poll_id&#62;\d+)/results/$'</span><span class="p">,</span> <span class="s">'mysite.polls.views.results'</span><span class="p">),</span>
    <span class="p">(</span><span class="s">r'^polls/(?P&#60;poll_id&#62;\d+)/vote/$'</span><span class="p">,</span> <span class="s">'mysite.polls.views.vote'</span><span class="p">),</span>
<span class="p">)</span></strong></pre>
</li>
<li>Add called functions such as
<pre><strong><span class="k">def</span> <span class="nf">detail</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="n">poll_id</span><span class="p">):</span>
    <span class="k">return</span> <span class="n">HttpResponse</span><span class="p">(</span><span class="s">"You're looking at poll </span><span class="si">%s</span><span class="s">."</span> <span class="o">%</span> <span class="n">poll_id</span><span class="p">)</span></strong></pre>
</li>
<li>To use template
<pre><strong><span class="k">from</span> <span class="nn">django.template</span> <span class="k">import</span> <span class="n">Context</span><span class="p">,</span> <span class="n">loader</span></strong>
<span class="k">from</span> <span class="nn">mysite.polls.models</span> <span class="k">import</span> <span class="n">Poll</span>
<span class="k">from</span> <span class="nn">django.http</span> <span class="k">import</span> <span class="n">HttpResponse</span>

<span class="k">def</span> <span class="nf">index</span><span class="p">(</span><span class="n">request</span><span class="p">):</span>
    <span class="n">latest_poll_list</span> <span class="o">=</span> <span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">all</span><span class="p">()</span><span class="o">.</span><span class="n">order_by</span><span class="p">(</span><span class="s">'-pub_date'</span><span class="p">)[:</span><span class="mf">5</span><span class="p">]</span>
   <strong> <span class="n">t</span> <span class="o">=</span> <span class="n">loader</span><span class="o">.</span><span class="n">get_template</span><span class="p">(</span><span class="s">'polls/index.html'</span><span class="p">)</span>
    <span class="n">c</span> <span class="o">=</span> <span class="n">Context</span><span class="p">({</span>
        <span class="s">'latest_poll_list'</span><span class="p">:</span> <span class="n">latest_poll_list</span><span class="p">,</span>
    <span class="p">})</span>
    <span class="k">return</span> <span class="n">HttpResponse</span><span class="p">(</span><span class="n">t</span><span class="o">.</span><span class="n">render</span><span class="p">(</span><span class="n">c</span><span class="p">))</span></strong>

or use shortcut

<strong><span class="k">def</span> <span class="nf">index</span><span class="p">(</span><span class="n">request</span><span class="p">):</span>
    <span class="n">latest_poll_list</span> <span class="o">=</span> <span class="n">Poll</span><span class="o">.</span><span class="n">objects</span><span class="o">.</span><span class="n">all</span><span class="p">()</span><span class="o">.</span><span class="n">order_by</span><span class="p">(</span><span class="s">'-pub_date'</span><span class="p">)[:</span><span class="mf">5</span><span class="p">]</span>
    <span class="k">return</span> <span class="n">render_to_response</span><span class="p">(</span><span class="s">'polls/index.html'</span><span class="p">,</span> <span class="p">{</span><span class="s">'latest_poll_list'</span><span class="p">:</span> <span class="n">latest_poll_list</span><span class="p">})</span>
</strong></pre>
</li>
<li>For 404 pages
<pre><strong><span class="k">from</span> <span class="nn">django.shortcuts</span> <span class="k">import</span> <span class="n">render_to_response</span><span class="p">,</span> <span class="n">get_object_or_404</span>
<span class="c"># ...</span>
<span class="k">def</span> <span class="nf">detail</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="n">poll_id</span><span class="p">):</span>
    <span class="n">p</span> <span class="o">=</span> <span class="n">get_object_or_404</span><span class="p">(</span><span class="n">Poll</span><span class="p">,</span> <span class="n">pk</span><span class="o">=</span><span class="n">poll_id</span><span class="p">)</span>
    <span class="k">return</span> <span class="n">render_to_response</span><span class="p">(</span><span class="s">'polls/detail.html'</span><span class="p">,</span> <span class="p">{</span><span class="s">'poll'</span><span class="p">:</span> <span class="n">p</span><span class="p">})</span>
</strong></pre>
</li>
<li>Same for 500 (Error)</li>
<li>This is how template look like
<pre><strong><span class="cp">{%</span> <span class="k">if</span> <span class="nv">latest_poll_list</span> <span class="cp">%}</span>
    <span class="nt">&#60;ul&#62;</span>
    <span class="cp">{%</span> <span class="k">for</span> <span class="nv">poll</span> <span class="k">in</span> <span class="nv">latest_poll_list</span> <span class="cp">%}</span>
        <span class="nt">&#60;li&#62;</span><span class="cp">{{</span> <span class="nv">poll.question</span> <span class="cp">}}</span><span class="nt">&#60;/li&#62;</span>
    <span class="cp">{%</span> <span class="k">endfor</span> <span class="cp">%}</span>
    <span class="nt">&#60;/ul&#62;</span>
<span class="cp">{%</span> <span class="k">else</span> <span class="cp">%}</span>
    <span class="nt">&#60;p&#62;</span>No polls are available.<span class="nt">&#60;/p&#62;</span>
<span class="cp">{%</span> <span class="k">endif</span> <span class="cp">%}</span></strong></pre>
</li>
</ol>
<p>-----------</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Podcasts que ouço]]></title>
<link>http://leogregianin.wordpress.com/?p=65</link>
<pubDate>Sun, 12 Oct 2008 02:26:01 +0000</pubDate>
<dc:creator>leogregianin</dc:creator>
<guid>http://leogregianin.pl.wordpress.com/2008/10/12/podcasts-que-ouco/</guid>
<description><![CDATA[Seguindo o meme do Leandro e do Humberto segue minha lista de podcast que ouço no carro, já que a ]]></description>
<content:encoded><![CDATA[<p>Seguindo o <a href="http://pt.wikipedia.org/wiki/Meme">meme</a> do <a href="http://lameiro.wordpress.com/2008/10/09/os-podcasts-que-eu-ouco/">Leandro</a> e do <a href="http://humberto.digi.com.br/blog/2008/10/09/escute-podcasts/">Humberto</a> segue minha lista de <a href="http://pt.wikipedia.org/wiki/Podcasting">podcast</a> que ouço no carro, já que a antena da rádio não funciona.</p>
<p>Primeiro coloco os <a href="http://hsm.com.br/canais/podcast/">podcasting da HSM</a>, de alta qualidade, em inglês e alguns poucos em português, sempre de entrevistas com grandes nomes das áreas de negociação, administração, tecnologia, inovação, estratégia, marketing e outras áreas relacionadas a gerenciamento, alguns nomes como <a href="http://podcast.hsm.com.br/fmi07/lyn-heward-cirque-du-soleil/">Lyn Heward do Circo de Soleil</a> falando sobre inovação e criatividade e <a href="http://podcast.hsm.com.br/forum-mundial-de-lucratividade-2008/oriovisto-guimaraes/">Oriovisto Guimarães presidente do grupo Positivo</a> falando sobre ética e a Positivo informática.</p>
<p>Como não poderia deixar de ser, a busca incessante por conhecimento, os podcasts ou a oralidade dos artigos, da <a href="http://commons.wikimedia.org/w/index.php?title=Category:Spoken_Wikipedia_-_English">Wikipedia em inglês</a>.</p>
<p>E o podcast <a href="http://thisweekindjango.com/">This Week in Django</a>, que versa sobre o desenvolvimento do <a href="http://www.djangobrasil.org/">Django</a>.</p>
<p>Estes são os podcasts que ouço, é um bom exercício para aprimorar o inglês.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Playing with Pinax]]></title>
<link>http://fitzgeraldsteele.wordpress.com/?p=20</link>
<pubDate>Fri, 10 Oct 2008 21:55:02 +0000</pubDate>
<dc:creator>fitzgeraldsteele</dc:creator>
<guid>http://fitzgeraldsteele.pl.wordpress.com/2008/10/10/playing-with-pinax/</guid>
<description><![CDATA[I&#8217;ve had fun this afternoon playing with Pinax, and new social media framework based on Django]]></description>
<content:encoded><![CDATA[<p>I've had fun this afternoon playing with <a href="http://pinaxproject.com">Pinax</a>, and new social media framework based on <a href="http://www.djangoproject.com">Django</a>.  I got it up and running very quickly, and with very little configuration (changing template files here and there, styles, etc) I've got a brand new website for my <a href="http://groklab.org">research lab</a> that features user profiles, project sites complete with wikis and task assignment, social bookmarking, discussion boards, and a host of other features. I showed it to a couple of my labmates.  They were able to log in and get up and running without any prompting for me, so it seems to have a familiar and easy-to-use-and-learn interface.  Those that were running their own projects enjoyed the project interface, and the ability to link and follow activities of different team members.</p>
<p>I think James and the rest of the Pinax team have hit the nail right on the head.  Out of the box I get about 90% of the functionality I was considering building for our lab.  I'd like to create and and in a django-references app, which would store citation information, who's read what, who's written what, etc.</p>
<p>I'm looking forward to seeing how much functionality I can add in how much time.  This type of thing could really transform scholarly communication:)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django è morto. Almeno per me.]]></title>
<link>http://linux4e.wordpress.com/?p=40</link>
<pubDate>Fri, 10 Oct 2008 21:01:04 +0000</pubDate>
<dc:creator>techmex101</dc:creator>
<guid>http://linux4e.pl.wordpress.com/2008/10/10/django-e-morto-almeno-per-me/</guid>
<description><![CDATA[Torno a scrivere dopo molto tempo di quello che mi capita fra codice e programmazione e tante altre ]]></description>
<content:encoded><![CDATA[<p>Torno a scrivere dopo molto tempo di quello che mi capita fra codice e programmazione e tante altre cose. Qualche tempo fa mi chiedevo se Django fosse morto visto la poca attività del progetto e le poche informazioni concrete che c'erano in giro.</p>
<p>Sanno tutti che qualche tempo fa è uscita la versione 1.0 di django. Evviva evviva! Peccato che ho dovuto praticamente buttare via tutto quello che avevo fatto fino a quel momento. Una gran perdita di tempo.</p>
<p>Ora non voglio dire che non si potesse risolvere in altro modo ma per una alle prime armi come me capire cosa fare per far funzionare di nuovo i miei programmi era davvero troppo complicato. E come se non bastasse gli aiutini che ho chiesto in giro sono stati davvero pessimi mi dispiace dirlo forse sono stata solo sfortunata ma sono stata trattata come una cretina.</p>
<p>So benissimo di essere cretina ma almeno non trattatemi come tale! :))</p>
<p>Mi sono allora concrentrata su Rails che mi sembrava essere l'altra alternativa. Tutto un altro mondo. Per la mia piccola testolina Rails è molto più pratico e "ha molto più senso". Si trovano in giro blog e tutorial a carrettate anche in italiano e quando ho chiesto un aiuto ho trovato solo persone disponibili sia in italia che fuori italia.</p>
<p>Non solo! mentre cercavo aiuto....... mi è stato addirittura offerto un lavoro! che ho rifiutato solo perchè dove sono ora sto molto bene e ci sono persone fantastiche.</p>
<p>Ho letto in giro di tanti articoli con gente che si picchia per dire se è meglio django o rails........ ma nessuno che parla delle persone che usano django e quelle che usano rails! e del lavoro. Sono andata su monster.com e ho cercato django e poi rails:</p>
<ul>
<li>django: 36 risultati</li>
<li>rails: 286</li>
</ul>
<p>hmmmmm....... e a guardare workingwithrails sono parecchie le aziende che utilizzano rails. e quelle che usano django dove sono?</p>
<p>Insomma, sarò anche cretina, ma vi posso solo consigliare di utilizzare rails e lasciare perdere django. E se siete alle primissime armi se posso un aiuto ve lo do volentieri! :)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Os podcasts que eu ouço]]></title>
<link>http://lameiro.wordpress.com/?p=74</link>
<pubDate>Thu, 09 Oct 2008 09:25:43 +0000</pubDate>
<dc:creator>Leandro Lameiro</dc:creator>
<guid>http://lameiro.pl.wordpress.com/2008/10/09/os-podcasts-que-eu-ouco/</guid>
<description><![CDATA[Quando o Bruce Eckel veio pro Brasil para a PyConBrasil 2008 e para o workshop de design patterns, e]]></description>
<content:encoded><![CDATA[<p>Quando o <a href="http://en.wikipedia.org/wiki/Bruce_Eckel">Bruce Eckel</a> veio pro Brasil para a <a href="http://pyconbrasil.com.br/">PyConBrasil 2008</a> e para o workshop de design patterns, ele perguntou quem escutava podcasts regularmente e bem menos gente do que eu esperava levantou a mão. Então ele recomendou <a href="http://www.javaposse.com/">alguns</a> <a href="http://www.se-radio.net/">podcasts</a> e enfatizou que ouvir podcasts era quase como ir a conferências, mas ainda mais prático você ouve quando puder. O <a href="http://humberto.digi.com.br/">Humberto Diógenes</a> então fez <a href="http://humberto.digi.com.br/blog/2008/10/09/escute-podcasts/">um post legal indicando os podcasts que ele ouve</a> e eu decidi fazer o mesmo. Os podcasts abaixo não estão em ordem de preferência:</p>
<p><a href="http://twit.tv/twit">This Week in Tech</a> - Muito bom. Conta com a presença regular do polêmico <a href="http://en.wikipedia.org/wiki/John_C._Dvorak">John C. Dvorak</a>. Normalmente são longos (mais de 1 hora). As edições que eu mais gostei foram sobre o <a href="http://twit.tv/144">The Internet Archive</a>, o <a href="http://twit.tv/140">lançamento do Microsoft Live Mesh</a> e <a href="http://twit.tv/138">sobre como a internet, blogs e twitter estão influenciando o jornalismo</a>. Periodicidade: Semanal.</p>
[caption id="" align="aligncenter" width="200" caption="This Week in Tech"]<a href="http://twit.tv/twit"><img title="This Week in Tech" src="http://twit.tv/files/imagecache/coverart/coverart/podcast_1_3.jpg" alt="Capa TWiT" width="200" height="200" /></a>[/caption]
<p><a href="http://twit.tv/FLOSS">FLOSS Weekly</a> - Mais um podcast com o <a href="http://en.wikipedia.org/wiki/Leo_Laporte">Leo Laporte</a>. Neste podcast ele e <a href="http://en.wikipedia.org/wiki/Randal_L._Schwartz">Randal Schwartz</a> (sim, o cara do <a href="http://en.wikipedia.org/wiki/Perl">Perl</a> e agora <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a>) entrevistam personalidades do software livre, normalmente core developers de projetos grandes como o Drupal, Python, Audacity, mas também pessoas não tão ligadas a projetos como o <a href="http://en.wikipedia.org/wiki/Maddog">Maddog</a>, <a href="http://en.wikipedia.org/wiki/Larry_Augustin">Larry Augustin</a> e <a href="http://en.wikipedia.org/wiki/Ward_Cunningham">Ward Cunningham</a>. Os episódios que eu recomendo são: <a href="http://twit.tv/floss27">Ward Cunningham</a> (muito bom!), <a href="http://twit.tv/floss6">Larry Augustin</a>, <a href="http://twit.tv/floss17">Maddog</a>, <a href="http://twit.tv/floww14">Jeremy Allison</a>. Periodicidade: Deveria ser semanal, mas de vez em quando demora mais, de vez em quando menos. Nos últimos meses eles tem conseguido manter a regularidade.</p>
[caption id="" align="aligncenter" width="200" caption="FLOSS Weekly"]<a href="http://www.twit.tv/floss"><img src="http://www.twit.tv/files/imagecache/coverart/coverart/podcast_5_3.jpg" alt="FLOSS Weekly" width="200" height="200" /></a>[/caption]
<p><a href="http://www.se-radio.net/">Software Engineering Radio</a> - Podcast já tradicional (mais de 3 anos e 100 episódios) que sempre conta com entrevistas interessantes normalmente com acadêmicos de várias áreas ligadas a software, por exemplo, linguagens funcionais, arquitetura de software, métodos ágeis, SOA, sistemas embarcados, sistemas distribuídos etc. Meus episódios preferidos: <a href="http://www.se-radio.net/podcast/2007-06/episode-59-static-code-analysis">Static Code Analysis</a>, <a href="http://www.se-radio.net/podcast/2007-09/episode-68-dan-grossman-garbage-collection-and-transactional-memory">Garbage Collection and Transactional Memory</a>, <a href="http://www.se-radio.net/podcast/2008-05/episode-97-interview-anders-hejlsberg">Anders Hejlsberg</a> (o cara do C#, Delphi e Turbo Pascal), <a href="http://www.se-radio.net/podcast/2008-01/episode-84-dick-gabriel-lisp">LISP</a>, <a href="http://www.se-radio.net/podcast/2007-12/episode-79-small-memory-software-weir-and-noble">Small Memory Software</a>. Periodicidade: De dez em dez dias.</p>
[caption id="" align="aligncenter" width="467" caption="Software Engineering Radio"]<a href="http://www.se-radio.net/"><img src="http://www.se-radio.net/files/garland_logo.gif" alt="Software Engineering Radio" width="467" height="80" /></a>[/caption]
<p><a href="http://thisweekindjango.com/">This Week in Django</a> - Este podcast comenta os últimos desenvolvimento do <a href="http://en.wikipedia.org/wiki/Django_(web_framework)">Django</a> no SVN, aplicações interessantes feitas com o Django e entrevista pessoas ligadas a comunidade do framework. Periodicidade: Semanal.</p>
[caption id="" align="aligncenter" width="150" caption="This Week in Django"]<a href="http://thisweekindjango.com/"><img src="http://blog.michaeltrier.com/assets/2007/12/14/twid_small.png" alt="This Week in Django" width="150" height="150" /></a>[/caption]
]]></content:encoded>
</item>
<item>
<title><![CDATA[google earth-ufobilder -real oder fake? - gut gemacht-federation of light]]></title>
<link>http://coffeecupz.wordpress.com/?p=503</link>
<pubDate>Wed, 08 Oct 2008 22:34:59 +0000</pubDate>
<dc:creator>coffeecupz</dc:creator>
<guid>http://coffeecupz.pl.wordpress.com/2008/10/08/google-earth-ufobilder-real-oder-fake-gut-gemacht-federation-of-light/</guid>
<description><![CDATA[
wow
HEILIGER BIMBAM
HOLY SHIT
WHAT A FANTASTIC FAKE
FREUDE UND LICHT
EUCH ALLEN
JETZT GLAUBE ICH AU]]></description>
<content:encoded><![CDATA[<p><a rel="attachment wp-att-504" href="http://coffeecupz.wordpress.com/2008/10/08/google-earth-ufobilder-real-oder-fake-gut-gemacht-federation-of-light/armada_007/"><img class="aligncenter size-large wp-image-504" title="armada_007" src="http://coffeecupz.wordpress.com/files/2008/10/armada_007.jpg?w=700" alt="" width="700" height="626" /></a><a rel="attachment wp-att-505" href="http://coffeecupz.wordpress.com/2008/10/08/google-earth-ufobilder-real-oder-fake-gut-gemacht-federation-of-light/630_miles/"><img class="aligncenter size-large wp-image-505" title="630_miles" src="http://coffeecupz.wordpress.com/files/2008/10/630_miles.jpg?w=700" alt="" width="700" height="626" /></a><a rel="attachment wp-att-506" href="http://coffeecupz.wordpress.com/2008/10/08/google-earth-ufobilder-real-oder-fake-gut-gemacht-federation-of-light/armada_001/"><img class="aligncenter size-large wp-image-506" title="armada_001" src="http://coffeecupz.wordpress.com/files/2008/10/armada_001.jpg?w=700" alt="" width="700" height="626" /></a></p>
<p>wow</p>
<p>HEILIGER BIMBAM</p>
<p>HOLY SHIT</p>
<p>WHAT A FANTASTIC FAKE</p>
<p>FREUDE UND LICHT</p>
<p>EUCH ALLEN</p>
<p>JETZT GLAUBE ICH AUCH</p>
<p>OHMMM</p>
<p>ICH GLAUBE AN PHOTOSHOP</p>
<p>OH JA</p>
<p>------------------------</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/cN2kMtMDYwg'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/cN2kMtMDYwg&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p>HIER NOCH EIN PAAR LINKS ZU DEN BILDERN</p>
<p><span><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_007.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_007.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></span></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_006.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_006.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_005.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_005.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_004.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_004.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_003.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_003.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_002.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_002.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/Armada_001.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/Armada_001.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/630_miles.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/630_miles.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
<p><a title="http://i407.photobucket.com/albums/pp151/pr828/NorthPole_Docking.jpg" rel="nofollow" href="http://i407.photobucket.com/albums/pp151/pr828/NorthPole_Docking.jpg" target="_blank">http://i407.photobucket.com/albums/pp...</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Visa det senaste från Twitter med Django]]></title>
<link>http://drmegahertz.wordpress.com/?p=37</link>
<pubDate>Wed, 08 Oct 2008 21:48:58 +0000</pubDate>
<dc:creator>Marcus</dc:creator>
<guid>http://drmegahertz.pl.wordpress.com/2008/10/08/visa-det-senaste-fran-twitter-med-django/</guid>
<description><![CDATA[Jepp, det stämmer, jag faller allt djupare ner i det sociala träsket. Det har gått så långt att]]></description>
<content:encoded><![CDATA[<p>Jepp, det stämmer, jag faller allt djupare ner i det sociala träsket. Det har gått så långt att jag knåpat ihop en liten applikation som tillhandahåller ett antal template-taggar för Django som hämtar de senaste inläggen från Twitter, som jag nu släpper till allmänheten.</p>
<p style="text-align:center;"><a href="http://drmegahertz.wordpress.com/files/2008/10/twitter_status.png"><img class="alignnone size-full wp-image-38" title="En templatetag för Django som låter användaren hämta de senaste inläggen från Twitter" src="http://drmegahertz.wordpress.com/files/2008/10/twitter_status.png" alt="" width="277" height="397" /></a></p>
<p style="text-align:left;"><!--more--></p>
<p style="text-align:left;">Du hittar applikationen här; <a title="Klicka här för att hämta twitter-tags" href="http://drmegahertz.linuxuser.se/files/twitter-tags.tar.bz2">twitter-tags</a></p>
<h3>Installation:</h3>
<ol>
<li>Packa upp arkivet i din projektkatalog.</li>
<li>Lägg till 'twitter-tags' i din INSTALLED_APPS-tupel, som du hittar längst ner i settings.py.</li>
</ol>
<h3>Användning:</h3>
<ol>
<li>Ladda taggarna i ditt template med {% load twitter-tags %}.</li>
<li>Låt oss nu ponera att vi skulle vilja hämta de 5 senaste inläggen från användaren 'DrMegahertz' och spara listan med inlägg som 'tweet_list', detta gör vi med följande kod;<br />
{% get_twitter_timeline drmegahertz 5 as tweet_list %}</li>
<li>tweet_list innehåller nu ett antal dicts med följande nycklar;
<ul>
<li>id - Inläggets idnummer</li>
<li>user - Användarens skärmnamn</li>
<li>text - Det egentliga inlägget</li>
<li>time - En datetime-instans som representerar den tid då inlägget skapades</li>
</ul>
</li>
<li>Applikationen kommer även med två stycken filter, det ena; 'at_reply' gör om referenser till användare(ex. @DrMegahertz eller @whatever) till en klickbar länk som leder till användarens profil på twitter. Det andra filtret; 'fuzzy_time' försöker härma de tidsangivelser som twitter ger på inläggen, ex. 'less than 5 seconds ago', 'about 3 hours ago' etc.</li>
</ol>
<p>Hoppas det kommer till nytta för någon där ute! :D</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django y AJAX]]></title>
<link>http://izaac.wordpress.com/?p=215</link>
<pubDate>Wed, 08 Oct 2008 18:48:32 +0000</pubDate>
<dc:creator>izaac</dc:creator>
<guid>http://izaac.pl.wordpress.com/2008/10/08/django-y-ajax/</guid>
<description><![CDATA[Aqui dejo unos enlaces hacia tips muy buenos sobre la utilización de efectos AJAX y tips de Django ]]></description>
<content:encoded><![CDATA[<p>Aqui dejo unos enlaces hacia tips muy buenos sobre la utilización de efectos AJAX y tips de Django que deberíamos saber. Además aquí les dejo el enlace a un "cheat sheet" de Django muy buena para tenerla impresa y pegada enfrente de tu escritorio.</p>
<ul>
<li><a title="Ajax Effects must know" href="http://nettuts.com/web-roundups/10-insanely-useful-django-tips/" target="_self">20 Excellent AJAX Effects You Should Know</a></li>
<li><a title="Insanely Django Tips" href="http://nettuts.com/web-roundups/10-insanely-useful-django-tips/" target="_self">10 Insanely Useful Django Tips</a></li>
<li><a title="Django Cheat Sheet" href="http://www.mercurytide.co.uk/whitepapers/django-cheat-sheet/" target="_self">Django Cheat Sheet</a></li>
</ul>
<p><!--more-->Muy buenos, el TextBox Autocompletion es muy útil y hay otros más sólo para agregarle más efectos al diseño del sitio, pero todos excelentes en cuanto efectos AJAX. Con demos y código incluídos.</p>
<p>En cuanto a los tips de Django algunos más que tips son consejos, como el número 10 que recae en la "DRY Philosophy" junto con una regla de mano derecha de Python de siempre utilizar lo "builtin" en lo posible. Otros como el Media Server y el Debugger Toolbar no tan obvios y muy bueno tenerlos en cuenta.</p>
<p>Saludos.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django Dersleri -2 (Başlangıç)]]></title>
<link>http://ftoptas.wordpress.com/?p=38</link>
<pubDate>Tue, 07 Oct 2008 20:30:41 +0000</pubDate>
<dc:creator>ceyranci</dc:creator>
<guid>http://ftoptas.pl.wordpress.com/2008/10/07/django-dersleri-2-baslangic/</guid>
<description><![CDATA[Python, Django, MySQL, MySQLdb uygulamalarını kurduktan sonra ilk sitemizi yazmaya başlayabiliriz]]></description>
<content:encoded><![CDATA[<p>Python, Django, MySQL, MySQLdb uygulamalarını kurduktan sonra ilk sitemizi yazmaya başlayabiliriz.Öncelikle <span style="color:#800000;">django-admin.py</span> dosyasını PATH değişkenine eklememiz lazım.Linux tabanlı bir işletim sistemi kullanıyorsanız terminale aşağıdaki satırı yazmanız yeterlidir;</p>
<blockquote><p><span style="color:#800000;">sudo ln -s /usr/lib/pyhton2.5/site-packages/django/bin/django-admin.py /usr/local/bin/django-admin.py</span></p></blockquote>
<p>Windows kullanıcıları da,</p>
<blockquote><p>Denetim Masası -&#62; Sistem -&#62; Gelişmiş -&#62; Ortam Değişkenleri -&#62; Sistem Değişkenleri bölümünden PATH değişkenini seçip Düzenle butonuna tıklayıp gördüğümüz satıra <span style="color:#800000;">;C:\Python25</span> <span style="color:#000000;">ekleyip Tamam dedikten sonra tamamlanmış olacak.</span></p></blockquote>
<p>Bunu yaptıktan sonra herhangi bir dizinden django-admin.py dosyasına ulaşabileceksiniz.Şimdi django projelerinizi kaydedeceğiniz bir dizin oluşturun(ör. d:\django ) ve terminalden o dizini seçin.</p>
<blockquote><p>Not: Eğer Windows kullanıcısı iseniz terminal yerine DOS Komut İstemini kullanacaksınız. Ben sürekli terminal ifadesini kullanacağım.</p></blockquote>
<p>Terminalden proje dizinimizi seçtikten sonra <span style="color:#800000;">django-admin.py startproject sitem</span> yazdıktan sonra sitem isimli bir dizin ve içinde birkaç dosya oluşacaktır.Eğer <span style="color:#ff0000;">Permission denied</span> hatası alırsanız kodun başına <span style="color:#800000;">sudo</span> yazıp deneyin(<span style="color:#800000;">sudo django-admin.py startproject sitem</span>) .</p>
<blockquote><p><span style="color:#008000;">Nedir bu sudo?</span> sudo linux kullanıcılarının sıkça kullandığı bir komuttur.Kullanıcı gruplarının yetkileri farklı olduğu için her kullanıcı her işlemi yapamamaktadır.İstediği yerde dizin veya dosya oluşturup silme yetkisi yoktur.Fakat sudo kullandığımızda bu yetkileri almış oluyoruz.Biraz önce kullandığımız komut sitem adında bir dizin oluşturacağı için bu yetkiye sahip olmamız gerekiyor.sudo komutunu her kapıyı açan bir anahtar olarak düşünebiliriz.</p></blockquote>
<p>Şimdi oluşturduğumuz dizin içine bir bakalım ne var ne yok.sitem dizininin içinde 4 dosya görüyoruz:</p>
<p><span style="color:#008000;">__init__.py</span> : Pythonu kandırmak için bir metod.Pythonun dizinimizi bir modül olarak algılamasını sağlar.</p>
<p><span style="color:#008000;">manage.py</span> : Djangoyla çalışabilmek için komut satırında kullandığımız bir dosya.</p>
<p><span style="color:#008000;">settings.py</span> : Ayarların saklanığı dosya.</p>
<p><span style="color:#008000;">urls.py</span> : Adreslemenin yapıldığı dosyadır. Yani sitenizde hangi adreste hangi içeriğin olacağını ayarladığınız bölümdür.</p>
<p>Terminale <span style="color:#800000;">python manage.py runserver</span> yazdığımızda sunucumuzu çalıştırmış olacağız.Herhangi bir port ayarlaması yapmadığımız için varsayılan ayar olarak 127.0.0.1:8000 adresinden sunucumuz yayınlanacaktır.Web tarayıcınıza <span style="color:#800000;">http://127.0.0.1:8000/</span> adresini girdiğinizde aşağıdaki sayfayı göreceksiniz.</p>
<p><a href="http://ftoptas.wordpress.com/files/2008/10/django-congratulations.png"><img class="alignnone size-medium wp-image-41" title="django-congratulations" src="http://ftoptas.wordpress.com/files/2008/10/django-congratulations.png?w=300" alt="" width="300" height="90" /></a></p>
<p>Bu şimdiye kadar hiç hata yapmadığınız anlamına gelmektedir.Eğer sunucunuzu farklı bir ip adresinden veya porttan başlatmak isterseniz;</p>
<blockquote><p><span style="color:#800000;">python manage.py runserver 8080</span> veya</p>
<p><span style="color:#800000;">python manage.py runserver 0.0.0.0:8080</span> seçeneklerini kullanabilirsiniz.</p></blockquote>
]]></content:encoded>
</item>
<item>
<title><![CDATA[G.A.P. Adventures: Web Developer]]></title>
<link>http://torontotechjobs.wordpress.com/?p=411</link>
<pubDate>Tue, 07 Oct 2008 17:32:13 +0000</pubDate>
<dc:creator>Geoffrey Wiseman</dc:creator>
<guid>http://torontotechjobs.pl.wordpress.com/2008/10/07/gap-adventures-web-developer/</guid>
<description><![CDATA[G.A.P. Adventures is looking for a Web Developer:
We’re looking for a full-time Web Developer to w]]></description>
<content:encoded><![CDATA[<p><a href="http://www.gapadventures.com/">G.A.P. Adventures</a> is looking for a <a href="http://www.gapadventures.com/careers?id=457">Web Developer</a>:</p>
<blockquote><p>We’re looking for a full-time Web Developer to work with the eCommerce team. You will be working in a collaborative and agile environment to develop a completely new experience for visitors to G.A.P Adventures websites.  You will be responsible for analyzing existing software, making improvements, handling new development requests and continually enhancing our web development capabilities.</p>
<p>Demonstrated development experience with hand-coding advanced HTML, CSS, Python or PHP and JavaScript<br />
Proficiency with cross-browser/cross-platform issues, and web standards<br />
Experience configuring Apache with MySQL or Postgress [sic], with knowledge of SQL and Linux (proficient with command line) <br />
Solid understanding of website architecture and MySQL database structure &#38; design, as well as object- oriented-programming <br />
Experience working within a team environment <br />
A strong ability to deal with people at all levels and build trust and confidence with management and employees <br />
Excellent command of the English language Python development experience a strong asset  </p></blockquote>
<p><strong>The Good</strong><br />
G.A.P. Adventures has a pretty good reputation as a <a href="http://atr.nationalgeographic.com/outfitters/outfitterDetail.action?id=4">tour operator</a> and has won lots of <a href="http://www.gapadventures.com/about_us/about_us">awards over the years</a>, and is in an interesting industry (ethical travel/tourism).  They're doing Python in a town where there isn't a lot of Python.  I get the impression that they're moving from PHP to Python and Django, although if the technology matters to you, you'll probably want to talk to them about the situation in more detail.</p>
<p>Interestingly, they mention "great travel benefits."  That's not enough information to go on, but it does imply that it's something you may want to know more about.</p>
<p>The description of the role seems sensible, not packed with meaningless HR or enterprisey terms that might imply dysfunction.</p>
<p><strong>The Bad</strong><br />
Information gaps.  How big's the team?  What kind of applications does the team work on?  What's the detail on the PHP/Python technology mix?  What's the compensation (salary, vacation, travel benefit, etc.)?  How big is the company?  What's the <a href="http://www.gapadventures.com/contact_us">location</a> you'd be working from?  (Is it a nice space?)  What kind of process does the team follow?  What tools do they use?  You could keep up this line of questions all day.</p>
<p>Also, although there's no specific mention of compensation, it's been my experience that companies hiring under the banner of "Web Developer" are typically paying less than those looking for, say, a  "Python Developer" or a "Software Developer".  That said, if compensation is a concern, the simplest way to address that is to talk to them about compensation.</p>
<p><strong>YMMV</strong><br />
It doesn't sound like it's an exceptionally senior role -- they're not looking for a ton of experience.   Depending on what your experience is and what you're interested in doing, this is either a great thing or a potential problem.  At the same time, I believe it's a smaller company, so you're unlikely to be a powerless code-monkey cog-in-the-wheel, so if you've got a lot of experience, they may well be willing to hire you and take advantage of it.</p>
<p>If Python is your area of interest, your mileage may vary about spending some of your time in PHP, so you'd want to inquire further about the technology mix.  Likewise if you're really into PHP and not so much into Python.</p>
<p>Although I don't believe you can directly correlate the posting to the company, I'm a little disappointed that the posting had some formatting issues, a typo, and failed to take the selling opportunity to link to the awards that G.A.P. Adventures has won directly, or to explain the travel benefits in more detail.</p>
<p><strong>In Summary</strong><br />
This is probably most interesting if either you're looking to do some Python work or you really like the idea of doing some work in ethical tourism (and possibly take advantage of said travel benefit).  If you're looking to parlay your PHP experience and move from PHP to Python and Django, this could also be a good place to do it, as long as you've got enough Python experience to make the grade.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Sukiyaki Western Django (2007) ]]></title>
<link>http://cvdm.wordpress.com/?p=854</link>
<pubDate>Mon, 06 Oct 2008 21:33:37 +0000</pubDate>
<dc:creator>Andrei_fermecatoru™</dc:creator>
<guid>http://cvdm.pl.wordpress.com/2008/10/06/sukiyaki-western-django-2007/</guid>
<description><![CDATA[takashi miike/quentin tarantino/hideaki ito/masanobu ando/yoshino kimura&#8211;dir. takashi miike
Un]]></description>
<content:encoded><![CDATA[<p><a href="http://cvdm.files.wordpress.com/2008/10/sukiyaki-django-posterb.jpg"><img class="size-full wp-image-855 alignleft" style="border:0;margin:0 5px;" title="sukiyaki-django-posterb" src="http://cvdm.wordpress.com/files/2008/10/sukiyaki-django-posterb.jpg" alt="" width="100" height="150" /></a><strong><span style="color:#ff6600;">takashi miike/quentin tarantino/hideaki ito/masanobu ando/yoshino kimura--dir. takashi miike</span></strong></p>
<p>Unul dintre <span style="color:#ffff00;"><strong>cele mai marfa filme</strong> </span>vazute de mine (si trust me, am vazut destule)!!!! <span style="color:#ffff00;"><strong>Un western japonez!!!</strong> </span>Mult mai mult decat atat. Este in primul rand un tribut adus filmelor <strong>"spaghetti western"</strong> (inca din titlu,"suriaki" fiind un fel de spaghete japoneze), dar realizat de un japonez, in stilul inconfundabil al lui <strong>Tarantino-</strong>care pe langa faptul ca si-a "bagat coada" la greu in realizarea proiectului asta, joaca si un rol secundar in film, in care se distreaza grozav, vorbind engleza cu un pronuntat acent japonez. Filmul mixeaza cu succes cliseele westernurilor italiene, atmosfera dementa din <em>"Moulin Rouge"</em> , onoarea impinsa pana la extrem a samurailor lui Kurosawa si modul de filmare "made by" <strong>Tarantino</strong> din <em>"Kil Bill"</em> ......Isi mai aminteste cineva  de <strong>"DJANGO"</strong> ( ala din 1966, cu Franco Nero)?? Ei bine, Takashi se pare ca si-a amintit, si impreuna cu Tarantino au realizat un remake original dupa acesta, si totodata un omagiu adus lui <strong>Sergio Corbucci</strong> si tuturor spaghetti westernurilor care ne-au incantat aproape tuturor copilaria. Si au reusit cu varf si indesat. Povestea, la fel ca si in "DJANGO" este aceeasi, un pistolar singuratic ajunge undeva intr-un orasel stapanit de doua bande rivale, unde evident nimereste la mijloc, in confruntarea dintre acestiea. Avem de toate, un orasel tipic de western, dar presarat cu pagode din loc in loc, japonezi imbracati in cowboy care vorbesc cu accent, dueluri cu pistoale si sabii, umor dement, sange in valuri, un "shot-down" monumental al sfarsit, cadre si culori specifice lui <strong>Tarantino</strong>, toate astea pe o coloana sonora care te face sa-ti amintesti mult timp dupa, ca ai vazut filmul asta. Nu trebuie sa fii neaparat fan <strong>Tarantino</strong> sau nostalgic dupa <strong>"spaghetti western"</strong> ca sa-ti placa filmul asta. E mult prea bine realizat ca sa nu mearga la sigur !!!! In concluzie, va zice fratilii vostru, vedeti trailerul (cu sonorul la maxim) si decideti singuri dupa aceea. Sincer, <strong><a title="SURIAKI WESTERN DJANGO" href="http://www.youtube.com/watch?v=PplzWwEnvrA" target="_blank"><span style="color:#ff6600;">VEDETI TRAILERUL !!!</span></a></strong></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django -&gt; Plone: Portlets, Viewlets, Zcatalog, Aspects]]></title>
<link>http://seeknuance.wordpress.com/?p=655</link>
<pubDate>Sat, 04 Oct 2008 22:45:32 +0000</pubDate>
<dc:creator>John</dc:creator>
<guid>http://seeknuance.com/2008/10/04/django-plone-portlets-viewlets-zcatalog-aspects/</guid>
<description><![CDATA[[Another in a series of posts about moving from Django to Plone. I'm a Plone/Zope newbie writing abo]]></description>
<content:encoded><![CDATA[<p>[Another in a <a href="http://seeknuance.com/2008/09/23/django-plone-things-that-make-me-go-hmmmm/">series of posts about moving from Django to Plone</a>. I'm a Plone/Zope newbie writing about my bafflements and enlightenments as they happen.</p>
<p>Some of my opinions are certainly wrong. I'm writing this in the expectation that the history of my meandering learning path may be useful, or at least entertaining, to future Plone newbies. If I sound wordy today, it may be because I just watched <a href="http://www.imdb.com/title/tt0433383/" target="_self">Good Night, and Good Luck.</a> on my <a href="http://www.blu-ray.com/info/" target="_self">Blu-ray</a> player. (The difference between <a href="http://www.pbs.org/wnet/americanmasters/episodes/edward-r-murrow/this-reporter/513/" target="_self">Edward R. Murrow</a>, and the regurgitating talking heads of today's television, is a sad thing to contemplate.)]</p>
<p>I spent only half of this week on Plone/Zope. Here's some of what I bumped into.</p>
<h4>Portlets, Viewlets, and Content Managers</h4>
<p>I've been puzzled about the big conceptual difference between portlets and viewlets. Not until I read page 234 of <a href="http://www.packtpub.com/Professional-Plone-web-applications-CMS/book" target="_self">Professional Plone Development</a> did I understand that it was in their invocation model! A viewlet <em>will</em> generate page content <em>anywhere</em> in the page when a viewlet manager <em>deliberately</em> invokes it. A portlet <em>may</em> generate content in <em>the left or right column, automatically</em>.</p>
<p><!--more--></p>
<p>Although an interesting distinction, I still don't see a good reason for portlets' existence. Instead of a "portlets" entity, why not instead give viewlets a hook to indicate they're an automatically-invoked-left-or-right-column object? It could be something as simple as the existence of an <code>automatic_render()</code> method in a viewlet object. If that method is defined, it signifies the object as a candidate for automatic rendering in the left or right column.</p>
<p>Because this is an obvious point, and the Plone/Zope community contains so many smart developers, I've got to be missing some other difference. And so I am very likely an ignoramus. These aren't the droids you're looking for, move along...</p>
<h5>Portlets don't exist in Django, but they're easier in Django</h5>
<p>I guess you'd make Django "portlets" by putting a loop in a left or right column's <code>&#60;div&#62;</code>. The loop would call all of the portlets' functions or methods. Each one would decide whether to return HTML, based on business logic. You'd iterate over a set or list of portlets, with each function checking its display criteria. So, the View (template) would call the Controller ("portlet") code, which decides whether to display HTML. And you'd have to code this up manually.</p>
<p>In Plone, the relationship (unless I'm wrong about this...) is flipped. The Controller (portlet object) decides (apparently...UIWAT) whether to be displayed within the View (page template's columns) without being deliberately called.</p>
<p>Although Django doesn't have this functionality built-in, any halfway-decent Python developer could create a Django portlet system in no time.</p>
<h4>Zcatalog, Holy Crap</h4>
<p><a href="http://www.zope.org/Documentation/How-To/ZCatalogTutorial" target="_self">ZCatalog</a> is powerful, but I'm missing how it's hooked up to search forms.</p>
<p>It seems like a ZCatalog is used if an <code>&#60;input&#62;</code> tag's <code>name=xxxx</code> attribute matches an index; and a report form is used if it references a ZCatalog by name. But that's too fragile a relationship definition to be viable in a large application. The linkage must be defined in some XML or interface file, but I'm too dense to see it right now.</p>
<h4>Zope 3 interfaces: Gaaaa!</h4>
<p><a href="http://wiki.zope.org/Interfaces/FrontPage" target="_self">Zope 3 Interfaces</a> leave me cold. They smell like a traditional language's way of protecting the programmer from herself. It's a layer of Java-esque <span style="text-decoration:line-through;">crap</span> static typing layered over Python code.</p>
<p>When I consider using a preexisting code package, I don't just close my eyes and copy it over blind. First, I'll read the documentation, and search for published reviews. I'll then evaluate its support and license. Then, I'll look for example or demo code. Only <em>after</em> all that will I decide whether to use it, and if so, do the necessary coding. Since I'm doing all that anyway, of what value is an interface definition?</p>
<p>Maybe I'll rue these words in two months, but I think separate interface definitions are syntactic sludge. I'm hoping for an experienced Zope developer will show me that I'm dead wrong.</p>
<h4>Aspect-Oriented Programming: Gaaaaaaaaaaaaaaaaaaa!</h4>
<p>Either <a href="http://en.wikipedia.org/wiki/Aspect-oriented_programming" target="_self">Aspect-oriented programming (AOP)</a> is grotesque, or I'm a software <a href="http://www.ideachampions.com/weblogs/dumb-Neanderthal.jpg" target="_self">Neanderthal</a>.</p>
<p>I appreciate the problem definition. Briefly: Some code (like logging code, or user authentication) can be scattered throughout an application. This makes it hard to share OOP source code, and increases maintenance costs. AOP tries to mitigate this problem by defining <em>cross-cutting</em> code as <em>aspects</em>, and providing ways to declare when such aspects should be invoked.</p>
<p>I have two complaints with this.</p>
<p>First, the problems aren't as painful as they're made out to be, in my experience. I've never seen a project get hung up by changes to its logging code; in fact, logging calls are the most painless code in a project. Authentication code can be problematic, but hassles with it are usually due to poor design decisions within the authentication package, and not in having to add authentication calls around other code.</p>
<p>But let's forget all that. And, let's pretend like the problem, as described, is a big deal. Now I get to my second problem, which is this: When I read through what AOP makes you do to solve this problem, I want to gouge my eyes out with a yogurt spoon. Join points, pointcuts, advice, adapters, interfaces, adapter factories...man, you've got to be kidding me! All of that is better than giving code you're thinking of using a once-over?!? I don't think so.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Back from Django!!!]]></title>
<link>http://partyvixen421.wordpress.com/?p=72</link>
<pubDate>Sat, 04 Oct 2008 08:15:56 +0000</pubDate>
<dc:creator>partyvixen421</dc:creator>
<guid>http://partyvixen421.pl.wordpress.com/2008/10/04/back-from-django/</guid>
<description><![CDATA[Where do I start?? Roses, Massages, Chocolate, and Champagne????
I don&#8217;t know who does it bett]]></description>
<content:encoded><![CDATA[<p><span style="color:#333399;">Where do I start?? Roses, Massages, Chocolate, and Champagne????</span></p>
<p><span style="color:#333399;">I don't know who does it better than Black Sea and Urban Ent alongside Straight Up Promotions when the present::: "Ladies First" @ Django.</span></p>
<p><span style="color:#333399;">Ladies who were not there, I repeat: LADIES WHO WERE NOT THERE, you missed out one of the best night of your natural, born lives!!!</span></p>
<p><span style="color:#333399;">Ladies, the males were sexy...Males, the women were Gorgeous... **SCREAMING**</span></p>
<p><span style="color:#333399;">It was truly a beautiful night. Nobody throws a better party than we do!!!! BLACK SEA AND URBAN ENT!!!!!!</span></p>
<p><span style="color:#333399;"><br />
</span></p>
<p><span style="color:#333399;">ps. I have a slight crush on one of the promoters. He's such a cutie, but he's taken :(</span></p>
<p><span style="color:#333399;">pss. NEXT STOP:::MOTIONS in UNDERGROUND ATL!!!!!!! SATURDAY OCTOBER 4th!!! Its gonna be </span></p>
<p><span style="color:#333399;">B A N A N A S!!!!</span></p>
<p style="text-align:center;">xoxo</p>
<p style="text-align:center;">PartyVixen421</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Python 2.6 Final]]></title>
<link>http://izaac.wordpress.com/?p=176</link>
<pubDate>Thu, 02 Oct 2008 20:23:05 +0000</pubDate>
<dc:creator>izaac</dc:creator>
<guid>http://izaac.pl.wordpress.com/2008/10/02/python-26-final/</guid>
<description><![CDATA[Ayer fue lanzada la versión Final de Python 2.6, pueden ver qué hay de nuevo ó descargarlo para ]]></description>
<content:encoded><![CDATA[<p>Ayer fue lanzada la versión Final de Python 2.6, pueden ver <a title="What's New Python 2.6" href="http://docs.python.org/whatsnew/2.6.html" target="_self">qué hay de nuevo</a> ó <a title="Download Python 2.6" href="http://python.org/download/releases/2.6/" target="_self">descargarlo</a> para su plataforma. Si se preguntan si Python 2.6 es compatible con Django 1.0 al parecer <a title="Django Compatibility with Python 2.6" href="http://groups.google.com/group/django-developers/browse_thread/thread/a48f81d916f24a04" target="_self">no hay mayores problemas</a> y Django 1.0 fué lanzado ya con compatibilidad con esta versión.</p>
<p>Sólo queda agradecer a la comunidad y desarrolladores (también <a title="Sponsorship" href="http://www.python.org/psf/sponsorship" target="_self">empresas patrocinadoras</a> ¿porqué no?), por darnos ésta excelente pieza de lenguaje de programación.</p>
<p>Saludos y ¡Happy Coding!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Iniciamos un miniproyecto para empezar con Django]]></title>
<link>http://okkum.wordpress.com/?p=224</link>
<pubDate>Thu, 02 Oct 2008 16:38:13 +0000</pubDate>
<dc:creator>Xavi</dc:creator>
<guid>http://okkum.pl.wordpress.com/2008/10/02/iniciamos-un-miniprojecto-para-empezar-son-django/</guid>
<description><![CDATA[En las últimas semanas hemos trabajado duro (especialmente Dani), para comenzar con un proyecto peq]]></description>
<content:encoded><![CDATA[<p>En las últimas semanas hemos trabajado duro (especialmente Dani), para comenzar con un proyecto pequeño con el que iniciarnos en Django. Ya comente que tenemos un proyecto grande a la vista que no tenemos claro sobre que tecnología queremos desarrollarlo, así que antes de lanzarme a la piscina sin conocer los pormenores del <em>marco de trabajo </em>(de verdad que si tenéis una traducción mejor la adopto) hemos decidido darle un par de vueltas a nuestra web.<!--more--></p>
<p>Teníamos una triste página estática en el área de tecnologías y una web que no acababa de solventar nuestras necesidades en la unidad de negocio de consultoría de recursos humanos. No hay forma mejor de aprender que hacer las cosas, pero no podíamos arriesgarnos con un gran proyecto con plazos definidos de antemano y presupuesto cerrado.</p>
<p>Hemos decidido integrar un CMS, al que hemos tuneado un poco con TinyWCE que teoricamente integraba pero que a la hora de la verdad se ha tenido que configurar manualmente (prometo que Dani escribirá un post sobre el tema) y <a href="http://code.google.com/p/django-filebrowser/" target="_blank">django-filebrowser</a>, Esto nos permitirá la gestión de las páginas de contenido. Además incluiremos una tienda basada en <a href="http://www.satchmoproject.com/" target="_blank">Satchmo</a>. Además añadiremos un conjunto de herramientas para la gestión de los servicios que ofrecemos en Okkum <em>recursos humans</em>, que desarrollaremos desde cero.</p>
<p>La experiencia esta siendo muy positiva, Python y Django son lo que uno espera de un lenguaje de programación y un framework web, ni más ni menos (es la primera vez que puedo decirlo de cualquier lenguaje, exceptuando tal vez Perl que es el mejor para lo que se diseño).</p>
<p>Hoy hemos creado un <a href="http://code.google.com/p/okkumproject/" target="_blank">proyecto en googlecode </a>y a lo largo de las próximas semanas podreís encontrar nuestra aportación. Os seguiré contando los avances.</p>
<p>PD: me ha sorprendido la facilidad con la que google te regala espacio, si lo comparás con SF especialmente.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django]]></title>
<link>http://schluss.wordpress.com/?p=814</link>
<pubDate>Thu, 02 Oct 2008 10:20:05 +0000</pubDate>
<dc:creator>maphoan</dc:creator>
<guid>http://schluss.pl.wordpress.com/2008/10/02/django/</guid>
<description><![CDATA[Sonntag, 05.10.08 | 00.10 - 01.35 | 3SAT | I/E 1966 | Regie: Sergio Corbucci
Im Grenzgebiet zwischen]]></description>
<content:encoded><![CDATA[<p>Sonntag, 05.10.08 &#124; 00.10 - 01.35 &#124; 3SAT &#124; I/E 1966 &#124; Regie: Sergio Corbucci</p>
<p>Im Grenzgebiet zwischen den USA und Mexiko lodert ein Bandenkrieg. Eines Tages taucht ein Fremder (Franco Nero) namens Django mit einem Sarg auf, in dem ein Maschinengewehr steckt und räumt damit unter den Banditen auf. Djangos Doppelspiel geht schief und es kommt zum Showdown mit dem Bösewicht. Der Rest ist Blei, Blut und Verderben. Ein Westernklassiker, der noch etliche Fortsetzungen nach sich zog und vom japanischen Samuraifilm inspiriert wurde.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Hadoop on EC2 with OpenSolaris]]></title>
<link>http://adamfisk.wordpress.com/?p=96</link>
<pubDate>Thu, 02 Oct 2008 07:29:10 +0000</pubDate>
<dc:creator>adamfisk</dc:creator>
<guid>http://adamfisk.pl.wordpress.com/2008/10/02/hadoop-on-ec2-with-opensolaris/</guid>
<description><![CDATA[The OpenSolaris crew just announced you can run Hadoop AMIs on EC2 running on top of OpenSolaris. Th]]></description>
<content:encoded><![CDATA[<p>The OpenSolaris crew just announced you can run Hadoop AMIs on EC2 running on top of OpenSolaris. That's just cool. I'm still not ready to abandon my Django code running on App Engine (I've got a post coming up on the stellar new update to <a href="http://code.google.com/p/app-engine-patch/">Google App Engine Patch</a>, by the way), but I'd love to play with it. Anyone else given it a go?</p>
<p>You can run it with:</p>
<p>ec2-run-instances --url <a href="https://ec2.amazonaws.com/" target="_blank">https://ec2.amazonaws.com</a> ami-2bdd3942 -k &#60;your-keypair-name&#62;</p>
<p>You can get more info on running OpenSolaris on EC2 <a href="http://www.sun.com/third-party/global/amazon/Sun_AmazonEC2_GettingStartedAug08Update.pdf">here</a>.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[PHP surprise exam, ohnoes]]></title>
<link>http://arien.wordpress.com/?p=45</link>
<pubDate>Tue, 30 Sep 2008 22:46:25 +0000</pubDate>
<dc:creator>Arien</dc:creator>
<guid>http://arien.pl.wordpress.com/2008/10/01/php-surprise-exam-ohnoes/</guid>
<description><![CDATA[At work we can ask for formation, courses, etc. to expand our knowledge in our areas of interest. Fi]]></description>
<content:encoded><![CDATA[<p>At work we can ask for formation, courses, etc. to expand our knowledge in our areas of interest. Finally we have resources dedicated exclusively for this task, and woah, they're out of bubblegum! They want us to take the MySQL Certification exams this year, to know PHP5 as if we had coded it ourselves and so on. It's nice to know that formation is now really a priority in the company, although it comes with small nasty surprises.</p>
<p>Like today's. We were told a month or so ago that there would be an exam about PHP5 and MySQL Soon(tm). And that "Soon(tm)" was actually this morning. We have a meeting scheduled, and when we get there, <em>bam! "Hi guys, enjoy the exam, k?"</em>. Would have been a great moment to make us a pic, I bet.</p>
<p>Oh well, I never liked surprise exams, but the purpose of this one was more like an autoevaluation, so it wasn't that bad. I got to the conclusion that I should reread the theory and the documentation of PHP again, because even though I knew what some of the questions were refering to, I couldn't find the words to describe them. And yes, much to my dismay there were a few things I couldn't answer because I didn't know or had completely forgotten... So I hope I have some time to study, I surely can use it.</p>
<p>On a less self-depressing note, tomorrow the English classes start again at work! I love to have this small break. On hard work days it's so relaxing to go there and have fun while polishing my English skills... Tiny things like this make this job worthwhile in the worst moments :)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django and Eclipse]]></title>
<link>http://utilitypattern.wordpress.com/?p=33</link>
<pubDate>Tue, 30 Sep 2008 10:08:57 +0000</pubDate>
<dc:creator>utilitypattern</dc:creator>
<guid>http://utilitypattern.pl.wordpress.com/2008/09/30/django-and-eclipse/</guid>
<description><![CDATA[I’m just getting started with Django and I’m using Eclipse. I’m assuming you already know abou]]></description>
<content:encoded><![CDATA[<p>I’m just getting started with Django and I’m using Eclipse. I’m assuming you already know about <a href="http://aptana.com/python">Pydev</a>, which is excellent. If you don’t, and you want to develop in Python, go check it out. Go ahead, I’ll wait.</p>
<p>Ok. Here’s a couple of little things that make life a even better.</p>
<p>First, take a look at the excellent Django tutorial.</p>
<p><a href="http://docs.djangoproject.com/en/dev//intro/tutorial01/#intro-tutorial01">http://docs.djangoproject.com/en/dev//intro/tutorial01/#intro-tutorial01</a></p>
<p>Then, check out some notes from Fabio Zadrozny, the developer of Pydev on how to configure Pydev to work with Django.</p>
<p><a href="http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html">http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html</a></p>
<h2>Development Server</h2>
<p>We want a quick and dirty debug server that we can start and stop quickly in Eclipse. So, we need to edit the run configuration of manage.py in the Django project and add the following.</p>
<p>runserver –-noreload</p>
<p><a href="http://utilitypattern.files.wordpress.com/2008/09/image2.png"><img title="image" style="display:inline;border-width:0;" height="161" alt="image" src="http://utilitypattern.files.wordpress.com/2008/09/image-thumb2.png" width="196" border="0" /></a> </p>
<p>Now you can start the Django development server with a quick <strong>Ctrl+F11</strong>. As Fabio points out, you can’t stop the server with <strong>Ctrl-Break</strong>, but the red stop button in the Consol works just fine.</p>
<p><a href="http://utilitypattern.files.wordpress.com/2008/09/image3.png"><img title="image" style="display:inline;border-width:0;" height="145" alt="image" src="http://utilitypattern.files.wordpress.com/2008/09/image-thumb3.png" width="244" border="0" /></a> </p>
<h3>With Reload</h3>
<p>I also like to run the server with the reload at a command prompt. Make sure you have python in your path. I switched to this about midway through the tutorial. I got tired of restarting the server.</p>
</p>
<h2></h2>
<h2>Python Console</h2>
<p>Another thing that is nice, especially as you work through the tutorials, is a proper interactive Python console. Adding the following in the Initial interpreter commands tells Django which project you are working on, without having to define an environment variable in the OS. Just change <strong>‘testproj’ </strong>to the name of your project.</p>
<p><strong>import os      <br />os.environ['DJANGO_SETTINGS_MODULE']= 'testproj.settings'</strong></p>
<p><a href="http://utilitypattern.files.wordpress.com/2008/09/image4.png"><img title="image" style="display:inline;border-width:0;" height="200" alt="image" src="http://utilitypattern.files.wordpress.com/2008/09/image-thumb4.png" width="244" border="0" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Mis cosas hoy]]></title>
<link>http://izaac.wordpress.com/?p=132</link>
<pubDate>Tue, 30 Sep 2008 02:11:09 +0000</pubDate>
<dc:creator>izaac</dc:creator>
<guid>http://izaac.pl.wordpress.com/2008/09/29/mis-cosas-hoy/</guid>
<description><![CDATA[Pues ando con una pequeña app de Django, nada mas crece un poco les dare el github pa que le den un]]></description>
<content:encoded><![CDATA[<p>Pues ando con una pequeña app de Django, nada mas crece un poco les dare el github pa que le den una checada, será como la de ewedding que se ha encargado Cristina de él sin embargo, como que está muy limitado y pues me ando aventando este pequeño "(my)-django-wedding" hehe. Sobre todo con las posibilidades que dan los <a title="Django Pluggables" href="http://djangoplugables.com/" target="_self">Pluggables</a>.</p>
<p>Y ya entrado en eso, hoy me quebré la cabeza con algo tan simple. Total que modificaron el request.FILES y ahora el indice que maneja son objetos del tipo UploadedFiles y es por nombre. Bueno, pero el problema era desde el template donde el form le faltaba poner enctype="multipart/form-data" sin ese no manda el objeto hacia el view, todo por no leer bien.</p>
<p><!--more-->Ya por ultimo, claro que viendo los Django Friendly Hosting Sites, y todos estan carísimos, aunque tal vez me decida por dreamhost estaré viendo las demás opciones, parece que Webfaction tiene buena reputación sobre todo con Rails, Turbogears, y Django.</p>
<p>También vi un post muy divertido de unos dibujos animados de Dr. House, muy buenos, les comparto que lo vi en página de <a title="Dr. House Caricatures" href="http://www.julioe.net/blog/show/dr-house-caricature.html" target="_self">Julioe</a>.</p>
<p>Saludos y espero estén bien.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Django JQuery Autocomplete for Model Selection]]></title>
<link>http://elpenia.wordpress.com/?p=16</link>
<pubDate>Mon, 29 Sep 2008 22:27:06 +0000</pubDate>
<dc:creator>elpenia</dc:creator>
<guid>http://elpenia.pl.wordpress.com/2008/09/29/django-jquery-autocomplete-for-model-selection/</guid>
<description><![CDATA[I&#8217;ve been working on a very cool snippet, inspired by Django Autocomplete Widget  :
http://www]]></description>
<content:encoded><![CDATA[<p>I've been working on a very cool snippet, inspired by Django Autocomplete Widget  :<br />
http://www.djangosnippets.org/snippets/233/</p>
<p>The idea is to create a Widget containing the client side code (I mean html + jquery), and a custom field called ModelAutocompleteField that accepts any model as a contructor parameter and its clean method returns the instance selected by the user. So making it work would be as simple as ...</p>
<pre>
from myapp.models import MyModel
from utils.fields import ModelAutocompleteField
class TestForm(forms.Form):
    customer = ModelAutocompleteField(model=MyModel,
                               lookup_url='/ajax/model_list/')
</pre>
<p>Now this is working pretty cool but I would like to make some enhancements before publishing like adding the ability of attaching javascript or jquery functions to the item selection event.</p>
<p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FDjango_JQuery_Autocomplete_for_Model_Selection%2F' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
]]></content:encoded>
</item>

</channel>
</rss>
