• Home
  • About me

Diego Búrigo Zacarão’s Weblog

Let me talk about something

Follow me
Twitter
Posts
Comments
« Where do people in my blog come from?
Running Transifex with PostgreSQL on Fedora »

Unicode usernames in Django admin panel

Nov 10th, 2009 by diegobz

This week we’ve gotten a request from translate.moblin.org for being able to login using unicode chars. They use a custom backend for authentication that allows, for example, Chinese chars in the username. Django seems to handle it pretty well, although the Django Admin Panel complains about it. As a solution, we’ve implemented a way to override the Django admin forms for creating and editing users, using a UnicodeRegexField.

That was a cool stuff. Here is a code example of an admin.py

Posted in Django, English, Fedora, Transifex

Comments are closed.

  • Recent Posts

    • Enabling apache UserDir (public_html) with SELinux enabled on Fedora
    • Metallica, Porto Alegre, Brasil – 28/01/2010
    • It’s been 1 year of Indifex
    • Running Transifex with PostgreSQL on Fedora
    • Unicode usernames in Django admin panel
    • Where do people in my blog come from?
  • Twitter Updates

      more updates...
    • Translate this page

    • Categories

      • Django (5)
      • English (45)
      • Europe (18)
      • Event (6)
      • Fedora (47)
      • FISL (5)
      • FUDCon (5)
      • GSoC (11)
      • Indifex (1)
      • Mini-post (5)
      • Photos (12)
      • PHP (1)
      • Português (14)
      • SELinux (1)
      • Transifex (30)

    Diego Búrigo Zacarão’s Weblog © 2008-2010 All Rights Reserved.

    Cool WordPress Themes | WordPress Rocks!