Re: Why not Single Table Inheritance?

2014-05-15 Thread Christian Schmitt
This is already merged. https://docs.djangoproject.com/en/1.6/topics/db/models/#multi-table-inheritance Am Montag, 12. Mai 2014 11:27:01 UTC+2 schrieb guettli: > > Single Table Inheritance is used by ruby-on-rails and SQLAlchemy. > > Are there reasons why it is used in django? > > I would lov

Re: Why not Single Table Inheritance?

2014-05-15 Thread Tom Evans
On Thu, May 15, 2014 at 4:11 PM, Christian Schmitt wrote: > This is already merged. > > https://docs.djangoproject.com/en/1.6/topics/db/models/#multi-table-inheritance > MTI is not STI, nor is it polymorphic. Cheers Tom -- You received this message because you are subscribed to the Google Gro

Re: Proposal to add a secure JSON encoding template tag

2014-05-15 Thread David Evans
Thanks. This is a good example of the problem actually as that library is vulnerable to XSS. If someone can get the string "]]>" into the JSON they break out of the CDATA block and the script element and can then execute arbitrary code. On Wednesday, 14 May 2014 14:57:06 UTC+1, Michael Mior wro