Skip to content

Commit

Permalink
help_text clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
brad committed Nov 3, 2016
1 parent bf2ae48 commit f06b792
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions misfitapp/migrations/0005_help_text.py
Expand Up @@ -22,7 +22,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='device',
name='device_type',
field=models.CharField(help_text=b'The device type. At this time, will always be "shine"', max_length=64),
field=models.CharField(help_text=b'The device type as a human readable string', max_length=64),
),
migrations.AlterField(
model_name='device',
Expand Down Expand Up @@ -232,7 +232,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='summary',
name='distance',
field=models.FloatField(help_text=b'Distance travelled during the day'),
field=models.FloatField(help_text=b'Distance traveled during the day, in miles'),
),
migrations.AlterField(
model_name='summary',
Expand Down
5 changes: 3 additions & 2 deletions misfitapp/models.py
Expand Up @@ -103,7 +103,8 @@ class Summary(MisfitModel):
calories = models.FloatField(help_text='Calories for the day')
activity_calories = models.FloatField(
help_text='Activity calories for the day')
distance = models.FloatField(help_text='Distance travelled during the day')
distance = models.FloatField(
help_text='Distance traveled during the day, in miles')

def __str__(self):
return '%s: %s' % (self.date.strftime('%Y-%m-%d'), self.steps)
Expand Down Expand Up @@ -203,7 +204,7 @@ class Device(MisfitModel):
user = models.ForeignKey(UserModel, help_text="The device's user")
device_type = models.CharField(
max_length=64,
help_text='The device type. At this time, will always be "shine"')
help_text='The device type as a human readable string')
serial_number = models.CharField(
max_length=100, help_text="The device's serial number")
firmware_version = models.CharField(
Expand Down

0 comments on commit f06b792

Please sign in to comment.