Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Nov 11, 2023
1 parent d1bce86 commit cef994e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-app/qfieldcloud/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,11 @@ def save_model(self, request, obj, form, change):
obj.save()

def get_form(
self, request: Any, obj: Any | None = None, change: bool | None = None, **kwargs: Any
self,
request: Any,
obj: Any | None = None,
change: bool | None = None,
**kwargs: Any,
) -> Any:
if obj:
# hide the organization prefix of the team, so the Team admin can be saved without
Expand Down

0 comments on commit cef994e

Please sign in to comment.