https://supertokens.com/ logo
#support-questions
Title
# support-questions
c

CuriousCI

04/28/2022, 7:09 AM
I took a look at the documentation, and I couldn't find a specific answer. I'm trying to add some fields to the user, and I'm currently trying to do it like this:
Copy code
class Donor(models.Model):
    user_id = models.CharField(max_length=2048)

    name = models.CharField(max_length=512)
    surname = models.CharField(max_length=512)
    phone = PhoneNumberField()

# etc...
When the user signs-up, I create a custom instance which has the SuperTokens user_id inside, is there a better solution for Django? Also, I wanted to ask if the
Copy code
include_recipe_ids field in the get_users() function
is for manually specifying the ids of the users you want to retrieve? https://supertokens.com/docs/python/supertokens.html
r

rp

04/28/2022, 7:10 AM
hey @CuriousCI
c

CuriousCI

04/28/2022, 7:10 AM
Hi!
r

rp

04/28/2022, 7:10 AM
You might want to cehckout the user metadata feature we have
once you check it out and if you don't want to use that, what you are doing makes sense.
> is for manually specifying the ids of the users you want to retrieve? Not the user IDs. But the recipe IDs. So if you give "emailpassword", it will give you all the users who signed up using email and password
c

CuriousCI

04/28/2022, 7:11 AM
Ok, I got it.
Thanks for the support!