Incorrectly assumes models will have an id field
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django-group-access |
Fix Released
|
Undecided
|
Kevin McDermott |
Bug Description
Should really access the pk instead...
File "/home/
accessible_
File "/home/
return self._clone(
File "/home/
clone = func(self, *args, **kwargs)
File "/home/
c._
File "/home/
self.
File "/home/
"Choices are: %s" % (name, ", ".join(names)))
FieldError: Cannot resolve keyword 'id' into field. Choices are: access_groups, arch, buildrequest, buildresult, config_url, dailybuildorder, is_active, launchpad_project, name, notes, owner, priority, project_group, projectnotifica
Related branches
- Nicola Heald: Approve
-
Diff: 85 lines (+41/-3)3 files modifieddjango_group_access/models.py (+2/-2)
django_group_access/sandbox/models.py (+17/-0)
django_group_access/tests.py (+22/-1)
Changed in django-group-access: | |
status: | New → In Progress |
assignee: | nobody → Kevin McDermott (bigkevmcd) |
Changed in django-group-access: | |
status: | In Progress → Fix Committed |
Changed in django-group-access: | |
status: | Fix Committed → Fix Released |