[core] updated Post class in models.py