Browse Source

Redundant. 🤔

feature/python-error-tracking
Drew Larson 8 years ago
parent
commit
b84fcb9155
  1. 4
      bikeshop_project/registration/models.py

4
bikeshop_project/registration/models.py

@ -94,10 +94,6 @@ class Member(models.Model):
waiver = models.DateTimeField(null=True, blank=True) waiver = models.DateTimeField(null=True, blank=True)
is_active = models.BooleanField(default=True) is_active = models.BooleanField(default=True)
@property
def full_name(self):
return '{0} {1}'.format(self.first_name, self.last_name)
def get_full_name(self): def get_full_name(self):
# The user is identified by their email address # The user is identified by their email address
return '{0} {1}'.format(self.first_name, self.last_name) return '{0} {1}'.format(self.first_name, self.last_name)

Loading…
Cancel
Save