from django.contrib.auth.models import User
from django.db import models

from oauth2client.contrib.django_util.models import CredentialsField


class CredentialsModel(models.Model):
    user_id = models.OneToOneField(User)
    credential = CredentialsField()