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… [...]
Category Archive for 'Django'
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 [...]
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 [...]
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 [...]