Chitrank-Dixit / django-fcm

Django FCM provides firebase cloud messaging to android or ios support for django apps
https://django-fcm.readthedocs.io/en/latest/
MIT License
54 stars 28 forks source link

Problem when customize Device model #9

Closed andpozo closed 8 years ago

andpozo commented 8 years ago

When I define custom Device model in my settings, the Default device model is registered in the admin, may be should use a swappable parameter in metaclass, like a User model in django

class Device(AbstractDevice):
    pass
class Device(AbstractDevice):
    class Meta:
        swappable = 'FCM_DEVICE_MODEL'
andpozo commented 8 years ago

@Chitrank-Dixit what you think about this issue?

Chitrank-Dixit commented 8 years ago

Yes I have seen this and merged this, closing this issue