Skip to content

Commit

Permalink
Allow prof_file to be blank, not null (jazzband#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Nias authored and moagstar committed Dec 8, 2017
1 parent 42d5ef6 commit f6cc8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Request(models.Model):
meta_num_queries = IntegerField(null=True, blank=True)
meta_time_spent_queries = FloatField(null=True, blank=True)
pyprofile = TextField(blank=True, default='')
prof_file = FileField(max_length=300, null=True, storage=silk_storage)
prof_file = FileField(max_length=300, blank=True, storage=silk_storage)

@property
def total_meta_time(self):
Expand Down

0 comments on commit f6cc8b8

Please sign in to comment.