Skip to content

Commit

Permalink
Add training log in repository update
Browse files Browse the repository at this point in the history
  • Loading branch information
dougppaz committed Sep 25, 2018
1 parent 312b18f commit 7ad500f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bothub/common/migrations/0021_repositoryupdate_training_logging.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.0.6 on 2018-09-25 20:43

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('common', '0020_auto_20180813_1320'),
]

operations = [
migrations.AddField(
model_name='repositoryupdate',
name='training_logging',
field=models.TextField(blank=True, editable=False, verbose_name='training log'),
),
]
4 changes: 4 additions & 0 deletions bothub/common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ class Meta:
_('failed at'),
blank=True,
null=True)
training_logging = models.TextField(
_('training log'),
blank=True,
editable=False)

@property
def examples(self):
Expand Down

0 comments on commit 7ad500f

Please sign in to comment.