diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-25 22:00:25 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-25 22:00:25 (GMT) |
commit | 0d130e9a431daffd628aa7d35019a8bf594143bd (patch) | |
tree | 92fdd7eec711519402c054b7a1540671f3fcd017 /webapp | |
parent | c2231e95bab8c5a9d2d63ded8ccec58bdec1977f (diff) |
Docstring: save method from Structure class
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/polls/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/polls/models.py b/webapp/polls/models.py index 18e126b..bdcbf58 100644 --- a/webapp/polls/models.py +++ b/webapp/polls/models.py @@ -1172,6 +1172,7 @@ class Structure(AbstractObject, ComponentStructure): return data def save(self): + """Save structure to database. Returns structure's ID.""" structure_id = None self.validate() |