Maybe here, do:

```python
if not int(same):
    raise DuplicateWordException
self.save()
```

Also maybe put the word/parent_id/story_id in the exception message - makes it easier to debug if required.