Missing LOC in django model form documentation (fixes #602)#605
Conversation
|
I think |
4 similar comments
|
As I said if you don't put this line you get a vague import error. I really think that this needs to be documented! |
|
After giving it a second thought I really would be happy if we did not need this line at all. So maybe there is another bug in the background? I did not manage to find out where the problem comes from... |
mvanlonden
left a comment
There was a problem hiding this comment.
This part of the docs is labeled as experimental so even if this isn't the most idiomatic approach it will save others some headache. Can revisit at a later time with a more idiomatic approach or make this field definition obsolete.
If you don't put this in your code you'll end up with an import error deep in the source code. Took me about 6h work to figure this out 🙈