Posted in Django, English, Fedora, Transifex on Feb 17th, 2011
Last week we came across an issue involving a request from Django. A person from the Slovenian team filed a ticket on the Django system asking to change the plural equation for the translation files. Once Django is now officially using Transifex for managing its translations, this ended up here to us. Long short history… [...]
Read Full Post »
Posted in Django, English, Transifex on Feb 10th, 2011
It’s been a while without passing here… but let’s not talk about it! So, this week I just came across an issue related to how to setup multiple databases on Django. Reading the documentation I found it quite trivial to setup. After having the databases configured, you can use a Database Router, if you want [...]
Read Full Post »
Posted in Django, English, Transifex on Jul 16th, 2010
Taking the cobwebs out of here… Here I go to cite a way that can ‘solve’ the URL reversing problem when you are using a Django app that uses some JavaScript and Ajax requests. Django has a very nice way to resolve URLs based on its name and optionally some args. It uses the regex [...]
Read Full Post »
Posted in Django, English, Fedora, Transifex on Nov 22nd, 2009
Steps with sudo command configured to the current user: $ sudo yum install postgresql-server python-psycopg2 $ sudo service postgresql initdb Initializing database: [ OK ] $ sudo service postgresql start Starting postgresql service: [ OK ] $ sudo su – postgres -bash-4.0$ psql postgres=# CREATE USER transifex WITH PASSWORD ‘transifex’; CREATE ROLE postgres=# CREATE DATABASE [...]
Read Full Post »
Posted in Django, English, Fedora, Transifex on Nov 10th, 2009
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 [...]
Read Full Post »