Skip to content

Commit b267296

Browse files
committed
Merge branch 'master' of github.com:ajharry69/django-rest-xauth
2 parents 710dcd1 + 208c3c1 commit b267296

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fixtures/users.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"model": "xauth.user",
3+
"model": "accounts.user",
44
"pk": 1,
55
"fields": {
66
"email": "[email protected]",

xauth/accounts/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
__all__ = []
1212

13-
if not is_model_registered("xauth", "User"):
13+
if not is_model_registered(AUTH_APP_LABEL, "User"):
1414

1515
class User(AbstractUser):
1616
class Meta(AbstractUser.Meta):

0 commit comments

Comments
 (0)