Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
Mark access_list as not required
Browse files Browse the repository at this point in the history
  • Loading branch information
lenards committed Oct 6, 2017
1 parent 3fcde05 commit a0e0f5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='application',
name='access_list',
field=models.ManyToManyField(to='core.PatternMatch'),
field=models.ManyToManyField(blank=True, to='core.PatternMatch'),
),
migrations.AddField(
model_name='machinerequest',
Expand Down
2 changes: 1 addition & 1 deletion core/models/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Application(models.Model):
description = models.TextField(null=True, blank=True)
tags = models.ManyToManyField(Tag, blank=True)
private = models.BooleanField(default=False)
access_list = models.ManyToManyField("PatternMatch")
access_list = models.ManyToManyField("PatternMatch", blank=True)
start_date = models.DateTimeField(default=timezone.now)
end_date = models.DateTimeField(null=True, blank=True)
# User/Identity that created the application object
Expand Down

0 comments on commit a0e0f5a

Please sign in to comment.