When find_entry() cannot find the entry, it should return an empty dictionary. When the user attempts to save the page, this object can then be inserted into the correct place in the site json.
The correct place will depend on which editor is used. For SiteEditor, the new page should be inserted at the end of the children. For DictionaryEditor, it should be inserted so as to keep the children in ’apibu order.
Cf: Issue #23.
When
find_entry()
cannot find the entry, it should return an empty dictionary. When the user attempts to save the page, this object can then be inserted into the correct place in the site json.The correct place will depend on which editor is used. For SiteEditor, the new page should be inserted at the end of the children. For DictionaryEditor, it should be inserted so as to keep the children in ’apibu order.