• 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

    • Generic Python Decorators
    • FISL 12
    • Dear (Slovenian) Translator
    • Django Database Router using settings
    • Django reverse with JavaScript
    • Enabling apache UserDir (public_html) with SELinux enabled on Fedora
  • Twitter Updates

      more updates...
    • Translate this page

    • Categories

      • Django (8)
      • English (50)
      • Europe (18)
      • Event (6)
      • Fedora (49)
      • FISL (6)
      • FUDCon (5)
      • GSoC (11)
      • Indifex (2)
      • Mini-post (5)
      • Photos (12)
      • PHP (1)
      • Português (14)
      • Python (1)
      • SELinux (1)
      • Transifex (34)

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

    Cool WordPress Themes | WordPress Rocks!