Changes between Initial Version and Version 1 of Ticket #21411, comment 4


Ignore:
Timestamp:
Nov 9, 2013, 8:35:06 PM (11 years ago)
Author:
artscoop

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21411, comment 4

    initial v1  
    22
    33I really think the Django documentation should warn against using classes directly as `ForeignKey` targets, and recommend using the `app.model` string representation, especially when linking to the user model. This behaviour prevents all circular and "too early" imports.
    4 Even better, Django itself should, at some time, deprecate using classes as `ForeignKey` targets.
     4Even better, Django itself should, at some time, deprecate using plain model classes as `ForeignKey` targets.
Back to Top