Skip to content

Commit

Permalink
Merge pull request #4 from hardyoyo/update-for-janeway-1.5.0
Browse files Browse the repository at this point in the history
Add required on_delete to models.py so this plugin is compatible with Janeway 1.5.0
  • Loading branch information
hardyoyo authored Jun 30, 2023
2 parents d0a0a9b + 36ad929 commit 34a2ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from repository.models import Repository

class RepoEZIDSettings(models.Model):
repo = models.OneToOneField(Repository)
repo = models.OneToOneField(Repository, on_delete=models.CASCADE)
ezid_shoulder = models.CharField(max_length=50)
ezid_owner = models.CharField(max_length=50)
ezid_username = models.CharField(max_length=200)
Expand Down

0 comments on commit 34a2ec7

Please sign in to comment.