We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e5b855 commit ef415ffCopy full SHA for ef415ff
2 files changed
conversejs/forms.py
@@ -8,3 +8,4 @@ class XMPPAccountForm(forms.ModelForm):
8
9
class Meta:
10
model = XMPPAccount
11
+ exclude = ()
conversejs/models.py
@@ -2,11 +2,11 @@
2
from django.db import models
3
4
try:
5
- from django.contrib.auth import get_user_model
+ from django.conf import settings
6
except ImportError:
7
from django.contrib.auth.models import User
else:
- User = get_user_model()
+ User = settings.AUTH_USER_MODEL
12
class XMPPAccount(models.Model):
0 commit comments