Django

Migrating Libravatar to the Persona Observer API

pa href=https://www.libravatar.orgLibravatar/a recently upgraded its support for the a href=https://login.persona.orgPersona/a authentication system (formerly BrowserID)./p

pHere are some notes on what was involved in migrating to the a href=http://identity.mozilla.com/post/28513408358/a-new-api-for-personaObserver API/a for those who want to do the same on their sites./p

h3 id=Moving_away_from_hidden_formsMoving away from hidden forms/h3

pLibravatar used to codePOST/code the user's assertion to the server-side verification code through a hidden HTML form, just like the a href=https://githu

Migrating Libravatar to the Persona Observer API

Auteur: 
François Marier

Libravatar recently upgraded its support for the Persona authentication system (formerly BrowserID).

Here are some notes on what was involved in migrating to the Observer API for those who want to do the same on their sites.

Adding X-Content-Security-Policy headers in a Django application

Auteur: 
François Marier

Content Security Policy is a proposed HTTP extension which allows websites to restrict the external content that can be displayed by visiting web browsers. By expressing a set of rules to be enforced by the browser, a website is able to prevent the injection of outside resources by malicious users.

Translating Django applications using Launchpad

Auteur: 
François Marier

One of my Django-based projects, Libravatar, makes use of Launchpad's interface to keep its translations current.

Using plupload inside a Django application

Auteur: 
François Marier

Plupload is a reusable component which fully takes advantage of the file upload capabilities of your browser and its plugins. It will use HTML5, Flash and Google Gears if they are available, but otherwise, it can gracefully degrade down to HTML4 it it needs to. Here's how it can be integrated within a Django web application.

can’t adapt type ‘Decimal’ error with Django + Apache + PostgreSQL + Psycopg2

Auteur: 
Étienne Pouliot

One of my Django installation was running fine for a few months.  Last week I had to add a new Django project to this server.
My setup was : CentOS 5.5, Apache, mod_wsgi and psycopg2 2.2.0.x
After I added the new project, I started getting random errors « can’t adapt ». It would work perfectly for a few hours [...]

Introducing (python-)caldav

Auteur: 
cyril

During the last few days, I’ve been busy writing a CalDAV client library for work. This is a requirement because we are going to integrate calendars from various sources in one of our websites.

Django Debug Toolbar

dans
Auteur: 
cyril

I wish for two things:

  • That there was some kind of RT function with rss feeds (the only feature I like about twitter)
  • That Django Debug Toolbar is merged in django 1.2+

 

via Planet GNOME

BTW, I can’t believe no one else on Planet Django mentioned it yet!

Syndiquer le contenu