Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIeldError at /icl/group/1/members/ #47

Open
AdrianDAlessandro opened this issue Dec 2, 2024 · 0 comments
Open

FIeldError at /icl/group/1/members/ #47

AdrianDAlessandro opened this issue Dec 2, 2024 · 0 comments
Labels
backend Related to the business logic of the tool bug Something isn't working

Comments

@AdrianDAlessandro
Copy link
Contributor

Ok, I managed to work out I need to navigate to http://127.0.0.1:8000/icl/group/1/members/ and it worked for when I wasn't a PI. But after setting is_pi to True it failed with this error (I believe the same error mypy was showing):

...
  File "/usr/src/imperial_coldfront_plugin/imperial_coldfront_plugin/views.py", line 51, in group_members_view
    group_members = GroupMembership.objects.filter(owner=user)
...
FieldError at /icl/group/1/members/
Cannot resolve keyword 'owner' into field. Choices > are: group, group_id, id, member, member_id

Originally posted by @AdrianDAlessandro in #30 (review)

@AdrianDAlessandro AdrianDAlessandro added bug Something isn't working backend Related to the business logic of the tool labels Dec 2, 2024
@cc-a cc-a mentioned this issue Dec 12, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the business logic of the tool bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant