Skip to content

Commit

Permalink
reference proxy_model when models are not ready
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 21, 2024
1 parent 0045ace commit f43af2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edc_consent/auth_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# error will be broadcast in system checks
pass
else:
models = [cdef.model for cdef in cdefs]
models = [cdef.proxy_model for cdef in cdefs]
models = list(set(models))
for model in models:
for action in ["view_", "add_", "change_", "delete_", "view_historical"]:
Expand Down

0 comments on commit f43af2b

Please sign in to comment.