Here's my issue guys. I have a store user that can log to his site and view all kinds of data related to his store. In his store he has, let's say 10 android billing devices that send bills to him. Now I need to create a custom authentication in Django REST framework that will authenticate android devices with their id_number
and type
fields (not store user's username & password) and assign a token to them (each individually) and allow them to POST, GET, PUT etc.. Is that possible?
Store(models.Model):
user = models.ForeignKey(User, default=1)
AndroidDevice(models.Model):
id_number = models.CharField()
type = models.CharField()
store= models.ForeignKey(Store)