mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-11 10:30:58 +00:00
Previously, we used a property to do this. Heres the advantages of the new way: - The old way felt a bit like it was pretending to be a database field when it wasn't. The new way makes it easier for the developer to understand that this is just a setter/getter for 4 fields and not a field itself. - Code looks nicer - Easier to override in subclasses - More like Django user model |
||
|---|---|---|
| .. | ||
| feature_detection.rst | ||
| index.rst | ||
| using_images_outside_wagtail.rst | ||