GitHub PushEvent at 2014-01-29 14:47:13
Repository: OTM2
Actor: ahinz
Payload: {"shas":[["1fa86fd9a42ecc0adb7430ee8cc8db26224552ec","0bcb61e86d757828ad32a8bdc1c9e82e77b5b9bb@gmail.com","Support UDFs and multi-table export\n\nUDF fields cannot be used directly in a values query since they don't\nresolve to valid field names.\n\nHowever, django's 'extra' method helps us save it from itself. We can\nmanually pass in definitions for udf fields. For example:\n\n```python\nPlot.objects.values('id', 'udf:Owner')\n```\n\nCan be written as:\n\n```python\nextra_select={'udf:Owner': 'treemap_plot.udf->Owner'}\nextra={'select': extra_select}\n\nPlot.objects.extra(*extra).values('id', 'udf:Owner')\n```\n\nThe `extra_select_and_values_for_model` generates these two pieces of\ninformation (dict and field list) based on a given user's permissions\n\nFixes #1012\nFixes #1013","Adam Hinz",true],["351b481a197cad81856a0a782e2aaf0f7931e87d","0bcb61e86d757828ad32a8bdc1c9e82e77b5b9bb@gmail.com","Merge pull request #1037 from ahinz/fix/1012/add-more-fields-to-export\n\nSupport UDFs and multi-table export","Adam Hinz",true]],"size":2,"ref":"refs/heads/master","head":"351b481a197cad81856a0a782e2aaf0f7931e87d"}