VERSION: emulate django behaviour