#6352 (New memo commands "ref" and "include")
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
[ref person:1] can replace [person:1] (it inserts a reference to the given database row) and [include person:1] would be new: it inserts the given row as a paragraph.
And [ref upload:1] will replace [upload 1] and [include upload:1] will replace [file 1].
Basically register_django_model() will become deprecated.
Children
Comments
- 1 year, 1 month ago by Luc Saffre about #6352 (New memo commands "ref" and "include") : I'm mostly done, but documentation is still very poor.
- 1 year, 1 month ago by Luc Saffre in reply to Luc Saffre about #6352 (New memo commands "ref" and "include") : No, they have different purposes. Publisher locations must be as short as possible, memo commands as stable as possible.
- 1 year, 1 month ago by Luc Saffre about #6352 (New memo commands "ref" and "include") (1 reply) : Shouldn't be memo_command and publisher location the same? Should end users see [ref person:15] or rather [ref p:15] in their memo text (on a site having a publisher_location "p" pointing to contacts.Person)?
- 1 year, 1 month ago by Luc Saffre about #6352 (New memo commands "ref" and "include") : Created new Ticket #6352 (New memo commands "ref" and "include").