Category Archives: programacion

Django 1.0 Template Development

Last month I got an email from Packt telling me about their latest book on Django Template development. I was invited to give it a read and see how I liked it. Now, I’m a lazy and slow reader. But … Continue reading

Posted in django, en, geek, programacion, tech, web | Tagged , , | 3 Comments

So it has a snake inside doing all the magic!

Great drawing used by the Nebula team at Nasa to show proudly that they use Django for their development.

Posted in django, en, geek, programacion, tech | 1 Comment

New Open selector version

This last week I fonally found some time to improve two important features I missed in Open-selector The first thing I  hated was havign to make so many HTTP requests to fetch the provider icons, so now Open-selector makes use … Continue reading

Posted in en, geek, javascript, open-selector, openid, programacion, tech | Tagged , , | Leave a comment

New Open-selector version

This shall be called Version 0.2 . The cool feature of this is the inline mode, it will be useful to have an OpenID login box in topbars, inline menus or heading sections (they are all the same I think), … Continue reading

Posted in en, geek, javascript, open-selector, openid, programacion, tech, web | Tagged , , | 3 Comments

Using object_list generic view for pagination in Django

Whenever I want to display a list of items I’ll need pagination, calculate first page, next page, total pages, current page, previous page, etc. Although Django comes with pretty good pagination helpers, I’ve found that using the list_detail.object_list generic view … Continue reading

Posted in django, en, geek, programacion | Tagged , | 2 Comments

Open-selector first talk

This is the first time I ever mentioned Open-selector to the public (In spanish). Open Selector – Barcamp Lima from UniversidadPeru on Vimeo. Here is the presentation I used for presenting Open-selector. This was part of BarcampLima in November 2008, … Continue reading

Posted in en, geek, javascript, open-selector, openid, programacion, tech | Tagged , , , | Leave a comment

Access MEDIA_URL from static Javascript files in Django

This is an old trick, that’s been very handy . Many times for various reasons you’ll need to access your media files from your Javascript files, to display images, change paths, or whatever. And in most cases your development MEDIA_URL … Continue reading

Posted in django, en, geek, programacion, web | Tagged , , | 4 Comments

Django cheap pages

Sometimes I end up using Django for the wrong thing, just to dispatch pages and put all my content in the templates. Flatpages are too flat and other DB based content tools are too complex. I just want to use … Continue reading

Posted in django, en, geek, programacion, web | Tagged , , , | Leave a comment

Mi charla de Introducción a Django

El fin de semana pasado tuve la oportunidad de dar nuevamente una charla de Django en el evento OpenSource Day de la Universidad San Martín de Porres. Aquí están mis diapositivas de Introducción a Django, y aquí el código de … Continue reading

Posted in django, es, geek, programacion | Tagged , | Leave a comment

Banca por Internet de Interbank y Firefox

Desde que tengo que usar la banca interactiva de Intarbank he visto muchísimas personas que han tenido el mismo problema que yo inicialmente tuve… No funciona con Firefox . Afortunadamente pude darme cuenta de donde radica el problema y desde … Continue reading

Posted in es, Forgot to categorize, geek, html, programacion, web | Tagged , | 13 Comments