From 14d6803470befca6ac21a26f2aab7e37bbde6ead Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Mon, 22 Mar 2021 11:26:52 +0100
Subject: [PATCH] TMSS-672: made ProjectQuotaArchiveLocation mergable

---
 SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py b/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py
index d7e979f6e16..25e9eada81b 100644
--- a/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py
+++ b/SAS/TMSS/backend/src/tmss/tmssapp/models/specification.py
@@ -308,7 +308,7 @@ class ProjectQuota(Model):
 
 
 class ProjectQuotaArchiveLocation(RefreshFromDbInvalidatesCachedPropertiesMixin, Model):
-    project_quota = ForeignKey('ProjectQuota', null=False, related_name="project_quota", on_delete=PROTECT, help_text='Project to wich this quota belongs.')
+    project_quota = ForeignKey('ProjectQuota', null=False, related_name="project_quota_archive_location", on_delete=PROTECT, help_text='The ProjectQuota for this archive location')
     archive_location = ForeignKey('Filesystem', null=False, on_delete=PROTECT, help_text='Location of an archive LTA cluster.')
 
     def save(self, force_insert=False, force_update=False, using=None, update_fields=None):
-- 
GitLab