Skip to content

[Issue] Module saves id of user instead of username  #440

Open
@uber1geek

Description

@uber1geek

I have a custom user model, however, when i register a device, the fcm-django model registers the id column of the related username or (partner_id in my case) to the user_id column.

I want the user_id column to have username from the users table and not the id of the particular username row

I have attached screenshots of the tables, how can i fix this? I need to send push notifications to a particular username(partner_id) which is my unique identifier for data across other tables.

PS: partner_id == username.

My users table:
screen shot 2017-11-28 at 4 12 27 pm

django push notifications table:
screen shot 2017-11-28 at 4 57 50 pm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions