Code

#19459 closed Bug (duplicate)

Reverse relationship on a new object returns related items.

Reported by: stavros Owned by: nobody
Component: Uncategorized Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I have a UserProfile with a nullable, optional ForeignKey on Organization, called org. Doing Organization().userprofile_set() returns all objects that don't have org set. Is that intentional?

Attachments (0)

Change History (1)

comment:1 Changed 17 months ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Sounds like #15146

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.