Skip to content

Commit

Permalink
#2841 updated article listing links to use url methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrbyers committed Jul 22, 2022
1 parent 4d6386b commit 07de933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/press/migrations/0014_auto_20171127_1502.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='press',
name='homepage_preprints',
field=models.ManyToManyField(to='submission.Article'),
field=models.ManyToManyField(to='submission.Article', blank=True),
),
migrations.AddField(
model_name='press',
Expand Down
2 changes: 1 addition & 1 deletion src/press/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Press(AbstractSiteModel):
preprint_decline = models.TextField(blank=True, null=True, default=press_text('decline'))

random_homepage_preprints = models.BooleanField(default=False)
homepage_preprints = models.ManyToManyField('submission.Article')
homepage_preprints = models.ManyToManyField('submission.Article', blank=True)

disable_journals = models.BooleanField(
default=False,
Expand Down

0 comments on commit 07de933

Please # to comment.