Changeset - c8f34ad333a2
default
0
6
0
model: simplify guess_instance invocations
The second argument to the guess_instance classmethod is in practice
fixed for Gist, Permission, RepoGroup, Repository, User, UserGroup;
so might as well move this logic into per-class specializations of
guess_instance.
The second argument to the guess_instance classmethod is in practice
fixed for Gist, Permission, RepoGroup, Repository, User, UserGroup;
so might as well move this logic into per-class specializations of
guess_instance.
6 files changed with 33 insertions and 17 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)