Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I change this packages to get work with id and not username #55

Open
Bensebabillal opened this issue May 9, 2020 · 1 comment

Comments

@Bensebabillal
Copy link

  • django-private-chat version: 3.0
  • Django version: 3.0.4
  • Python version:3.7
  • Operating System: Mac

Description

hi, first of all thanks for this awesome packages, I want to know how can I modify the packages to get work with id pk instead of username . And I want to know if this packages will work with Django custom user model .

@rumititim
Copy link

Hi @TheGhostDevlopper

  1. list of changes:
  1. Custom user model is supported. You just need to define AUTH_USER_MODEL in your settings.py

PS I'm not a contributor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants