Skip to content

Commit

Permalink
Rename Profile notes to free_response fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
jwokaty committed Sep 11, 2020
1 parent da8f782 commit 6eb9ff4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions member_manager/admin/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class ProfileAdmin(TimestampAdmin):
"""ProfileAdmin shows profile, availability, and skill data"""

fields = ['last_name', 'first_name', 'user', 'active', 'pronouns',
'email', 'phone', 'joined', 'notes', 'created', 'created_by',
'modified', 'modified_by']
'email', 'phone', 'joined', 'free_response', 'created',
'created_by', 'modified', 'modified_by']
inlines = [AvailabilityInline, ProfileSkillInline]
list_display = ['last_name', 'first_name', 'user', 'active', 'email',
'phone']
Expand Down
2 changes: 1 addition & 1 deletion member_manager/models/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Profile(Timestamp):
user = models.OneToOneField(User, blank=True, null=True,
on_delete=models.CASCADE)
joined = models.DateField(blank=True, null=True)
notes = models.TextField(blank=True)
free_response = models.TextField(blank=True)

def __str__(self):
return '{} {}'.format(self.first_name, self.last_name)
Expand Down

0 comments on commit 6eb9ff4

Please sign in to comment.