Update models.py

this change will avoid the error 'expected a character buffer object'
Django-1.6.5, Django-CMS-3.0.2