There is a problem with self.type. I try to solve this problem but i think that my solution is enough good. Clean in model is better but my solution is still correct with django convention.