Implement named URL feature.

This commit is contained in:
Aaron Tan
2017-03-02 11:27:52 -05:00
parent 903e3076aa
commit f25391fe86
15 changed files with 944 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class Label(CommonModelNameNotUnique):
def is_detached(self):
return bool(
Label.objects.filter(
id=self.id,
id=self.id,
unifiedjob_labels__isnull=True,
unifiedjobtemplate_labels__isnull=True
).count())