Changes between Initial Version and Version 1 of Ticket #18627, comment 3


Ignore:
Timestamp:
Jul 28, 2012, 10:02:35 AM (12 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18627, comment 3

    initial v1  
    1111
    1212Have you tried to implement the parts of `GenericForeignKey` and `ImageField` without relying on a model-level hook? Basically, the problem is that a field must interact with other fields of the same model. It may be possible to handle this within the field itself. I haven't said it's easy, but if it was possible, it would be much cleaner, and probably safer in the long term.
     13
     14That's a -0; it could be turned into a +0 if alternative solutions prove to be worse.
Back to Top