qdjango and model refactor