On my journey of adding multi-tenancy to my app, I have used django-tenant-schemas and the testing utilities it provides to make my unit tests work with the tenants or main site. However the functional tests is another kettle of fish as there is not utility to use for them. Functional Tests From the django docs […]
Category: django
I built a time tracking, leave application and billing application with django, called crowdminder. The product was created in partnership with a consulting company, they paid me and I developed it for them while retaining co-ownership. I have seen that they have benefited from this simple application and know that many other consulting companies in […]
I’ve been building an application that needs precicion as it is dealing with money, finance and trading. For these tasks there is a special datatype called decimal.Decimal that python has built in. It has many advantages but has a few disadvantages when displaying the decimal to the user. The trailing zeroes are shown (which is […]
When days are dark, friends are few, cash is low and we need to take our django sites and put them on a single server. I am assuming you have site up and running that is using django with nginx and gunicorn. Now we need to do a few modifications to get the new site […]
Ever got to deploy day only to have errors streaming in about the site not being able to be accesses. Most likely in your logs or error emails / alerts you get something like this: (2003, “Can’t connect to MySQL server on ‘127.0.0.1’ (111)”) What the hell does this mean, it means MySQL is down […]