Browse Source

Flake8.

feature/python-error-tracking
Drew Larson 8 years ago
parent
commit
36873ce834
  1. 6
      bikeshop_project/registration/models.py

6
bikeshop_project/registration/models.py

@ -1,4 +1,5 @@
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin from django.contrib.auth.models import (AbstractBaseUser, BaseUserManager,
PermissionsMixin)
from django.db import models from django.db import models
@ -69,7 +70,8 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
class Member(models.Model): class Member(models.Model):
user = models.OneToOneField(CustomUser, on_delete=models.CASCADE, null=True) user = models.OneToOneField(CustomUser, on_delete=models.CASCADE,
null=True)
email = models.EmailField( email = models.EmailField(
verbose_name='email address', verbose_name='email address',
max_length=255, max_length=255,

Loading…
Cancel
Save