Skip to content

Commit

Permalink
#24: Added comment in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenwh committed Jul 25, 2018
1 parent 0830dcf commit 0c91dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geospaas/catalog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ def save(self, *args, **kwargs):
# (apparently) good... see the test..
#self.full_clean()
# Check that the uri exists?
# TODO: check in the get_or_create method - valid uri-schemes are provided at
# https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
super(DatasetURI, self).save(*args, **kwargs)

class DatasetRelationship(models.Model):
Expand Down

0 comments on commit 0c91dd5

Please sign in to comment.