django-gcm icon indicating copy to clipboard operation
django-gcm copied to clipboard

Problem with extending model

Open riderofzion opened this issue 8 years ago • 3 comments

I have a problem with extending the model, when I try to python manage.py makemigrations gcm, the console tells me there is no changes and I cannot migrate anything.

riderofzion avatar Mar 21 '16 11:03 riderofzion

@firelight22 Do you have the variable GCM_DEVICE_MODEL in your settings file?

bogdal avatar Mar 21 '16 13:03 bogdal

@bogdal Thank you for your reply, Yes I have the variable in my settings file : GCM_DEVICE_MODEL = 'WS.models.GCMDevice'

riderofzion avatar Mar 21 '16 14:03 riderofzion

In your case, you should create a new migration for WS application: python manage.py makemigrations WS

bogdal avatar Mar 21 '16 18:03 bogdal