models.py failed: changed doc.year from int to string