Timeline for answer to Django models and Python properties by koniiiik
Current License: CC BY-SA 3.0
Post Revisions
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 14, 2015 at 16:56 | history | edited | koniiiik | CC BY-SA 3.0 |
Removed the incorrecct part about initializers.
|
| Jun 20, 2012 at 13:52 | comment | added | koniiiik |
Oh, seems you are right – the constructor does support properties; this is in order to support GenericForeignKey. However, the other argument about QuerySets holds.
|
|
| Jun 18, 2012 at 12:45 | vote | accept | futuraprime | ||
| Jun 18, 2012 at 12:42 | vote | accept | futuraprime | ||
| Jun 18, 2012 at 12:42 | |||||
| Jun 14, 2012 at 3:44 | comment | added | okm |
Have you tried that? The code shows that its possible to assign property through kwargs since 5 years ago...
|
|
| Jun 14, 2012 at 1:00 | history | answered | koniiiik | CC BY-SA 3.0 |