X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dae8c833746bf716c05aaccba59a5fc049918163..0c15e06e080d45122c9b2ad9a05937c13af35e8e:/apps/apiclient/models.py?ds=sidebyside diff --git a/apps/apiclient/models.py b/apps/apiclient/models.py index 9cce9a8e..64130bc1 100644 --- a/apps/apiclient/models.py +++ b/apps/apiclient/models.py @@ -3,7 +3,7 @@ from django.contrib.auth.models import User class OAuthConnection(models.Model): - user = models.OneToOneField(User) + user = models.ForeignKey(User) access = models.BooleanField(default=False) token = models.CharField(max_length=64, null=True, blank=True) token_secret = models.CharField(max_length=64, null=True, blank=True)