Forums

Not All Model Fields Migrating to Python Anywhere

Hi --

The bet_tag field on my model below is migrating to my local admin, but not to python anywhere. I have tried to migrate the database multiple times with no luck. Any suggestions?

class PlayerPick(models.Model):
    player_profile = models.ForeignKey('PlayerProfile')
    bet_tag = models.CharField(max_length=128)
    locked = models.BooleanField(default=False)

It actually looks like a lot of my code is not migrating / functioning properly between my local host and python anywhere. Could it be the console? Any common ways to debug?

Are you running the same version of Django on PythonAnywhere as you are on your local machine? What are the errors you're seeing?