Opened 8 years ago

Closed 8 years ago

#15972 closed Cleanup/optimization (invalid)

Error in documentation on web site

Reported by: otov4its@… Owned by: otov4its
Component: Documentation Version: 1.3
Severity: Normal Keywords: documentation, F object
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


In wrote: from django.db.models import F
But F object actually in django.db.models.expressions

Change History (1)

comment:1 Changed 8 years ago by Jonas H.

Resolution: invalid
Status: newclosed

Both work, but from django.db.models import F is the preferred way to import F as Django's internal module structure may change.

Note: See TracTickets for help on using tickets.
Back to Top