Resolve "Allow deletion of apps"
Closes #129 (closed)
Merge request reports
Activity
assigned to @mart
requested review from @arie
173 177 app_id=self.id 174 178 ).all() 175 179 180 @property 181 def oauthclients(self): Although this works, it might be nicer to define
oauthclients
through arelationship
, as theapp
andoauthclient_app
tables have a foreign key relation. I think that makes it easier to understand what's going on. Note that that because this is a bi-directional relationship -- in the other direction we already defineOAuthClientApp.app
usingrelationship
-- you have to use theback_populates
argument torelationship
.I just tried this locally, so if you want I can add it as a commit to this MR.
changed this line in version 4 of the diff
removed review request for @mart
requested review from @arie
added 1 commit
- d52dcb0a - Implement app.oauthclients using relationship
mentioned in commit 2650b98e