Here is my model.
Poll(models.Model): title = models.CharField(max_length=1024) MY_VAR = [\'my_class_level_attribute\'] # I want to access this
I think you can't access model method in migration. I found the answer here How to call a static methods on a django model class during a south migration