You probably have to set up a separate model for the url.

My experiences with the relational table models usually goes as follows:

- Set up the models
- Get the views to work properly
- Struggle to get edits of the relational data to work
- Rewrite the whole thing as a QAbstractItemModel (or equivalent)
- Get edits working
- ???
- Profit