diff options
Diffstat (limited to 'pyblackbird_cc/resources/models.py')
-rw-r--r-- | pyblackbird_cc/resources/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyblackbird_cc/resources/models.py b/pyblackbird_cc/resources/models.py index 6b0a9b0..d302ae6 100644 --- a/pyblackbird_cc/resources/models.py +++ b/pyblackbird_cc/resources/models.py @@ -45,9 +45,8 @@ class Resource(models.Model): null=False, related_name="main_resource_category", ) - additional_resource_category = models.ForeignKey( + additional_resource_category = models.ManyToManyField( "ResourceCategory", - on_delete=models.CASCADE, null=True, blank=True, related_name="additional_resource_category", |