Good idea. I have just moved it into models.py