Latest post

Pycon Pune 2017

Share on:

2017 saw a new chapter of Pycon in India, Pycon Pune. Pycon Pune 2017 felt more community focused, had loads of upstream contributors as speakers and participants, community booths (Pyladies, PSF) and loads of hacking. Pycon Pune 2017 was a 4 day event, from 16 Feb - 19 Feb. The first 2 days were conference ...

Continue reading

#Django #TransactionTestCase with REUSE_DB=1 of #django-nose

Share on:

Lately, I found out that Django’s TransactionTestCase leaves test data in database after the test case is executed. It’s not until the next execution of presetup method of a TransactionTestCase instance that the database is flushed. This is troublesome when tests are run with Django Nose’s test runner with REUSE_DB =1. ...

Continue reading

My talk got selected for #Pycon India 2012

Share on:

My proposed talk titled Develop for an international audience got selected for Pycon India, 2012. It’s time to start working on the slides. I am thinking to use rst to write my slides. Also, I have booked by flight tickets for Pycon Thanks everyone who voted for my talk. ...

Continue reading

Validate Python string translation in Transifex

Share on:

Transifex already supported validating translations of old styled Python strings, e.g., [sourcecode language=”python”] "A sample string with a %(keyword)s argument." % {‘keyword': ‘key word’} [/sourcecode] The validation is done by checking if all the positional and keyword arguments are present in the translation string and the translation string does not contain any extra ...

Continue reading

App specific logging in Transifex

Share on:

Yesterday, I was working on adding app specific loggers in Transifex. By app specific logger I mean a logger which shows the app name which generated the log. As of now, the logs in Transifex look something like this: [sourcecode language=”python”] 2012-06-29 13:01:43,300 tx DEBUG Saved: Project Avant Window Navigator 2012-06-29 ...

Continue reading