Running makemessages with domain djangojs results in UnicodeDecodeError

2022-04-06 Thread Benedikt Karl
Hello, I am using the provided localization by Django. I wanted to use gettext with some of my javascript files and thus enabled the JavaScriptCatalog and executed this command: python manage.py makemessages -d djangojs -l de However, this results in a UnicodeDecodeError, ultimately caused by

Using Multiple databases

2022-04-06 Thread Vasanth Mohan
Hello, I'm building a PoC for a multi-tenant app where I'm trying to use the same schema across multiple databases with Django instance. I've got a couple of questions and I'd be happy to have some input 1. Is there a way to define the *using()* function to use with Models via a lib/middleware