Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

turned on dublin core extended

  • Loading branch information...
commit da5ec3e3dd497a0c03f348585bfe03ddf046f68d 1 parent 91c3f28
@JeffHeard JeffHeard authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 models.py
View
4 models.py
@@ -150,8 +150,8 @@ def save(self, *args, **kwargs):
'''Make sure that the term is valid.
If changed, create a QualifiedDublinCoreElementHistory object and save it.
'''
- if not self.term in self.DCELEMENT_CODE_MAP:
- raise ValueError('Extended Dublin Core Terms such as '+self.DCTERM_CODE_MAP[self.term]+' are not allowed. Please use only Dublin Core Elements')
+ #if not self.term in self.DCELEMENT_CODE_MAP:
+ # raise ValueError('Extended Dublin Core Terms such as '+self.DCTERM_CODE_MAP[self.term]+' are not allowed. Please use only Dublin Core Elements')
#HOW TO TELL IF OBJECT CHANGED? RETRIEVE FROM DB and COMPARE
changed = False
if self.pk:# existing object
Please sign in to comment.
Something went wrong with that request. Please try again.