Skip to content

Instantly share code, notes, and snippets.

@AbhiAgarwal
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhiAgarwal/01df7022a5e7de7e90e6 to your computer and use it in GitHub Desktop.
Save AbhiAgarwal/01df7022a5e7de7e90e6 to your computer and use it in GitHub Desktop.
[
{
"can_filter": true,
"is_default": true,
"field_choices": [],
"field": "char_field",
"name": "`",
"path_verbose": "",
"field_type": "CharField",
"help_text": "",
"path": "",
"field_verbose": "char field"
},
{
"can_filter": true,
"is_default": true,
"field_choices": [],
"field": "id",
"name": "id",
"path_verbose": "",
"field_type": "AutoField",
"help_text": "",
"path": "",
"field_verbose": "ID"
},
{
"can_filter": true,
"is_default": true,
"field_choices": [],
"field": "i_want_char_field",
"name": "i_want_char_field",
"path_verbose": "",
"field_type": "Property",
"help_text": "Adding this property will significantly increase the time it takes to run a report.",
"path": "",
"field_verbose": "i_want_char_field"
},
{
"can_filter": true,
"is_default": true,
"field": "check_mate_status",
"field_choices": [
[
"CH",
"CHECK"
],
[
"MA",
"CHECKMATE"
]
],
"name": "check_mate_status",
"path_verbose": "",
"field_type": "CharField",
"help_text": "",
"path": "",
"field_verbose": "check mate status"
}
]
{
"id": 1,
"name": "asd",
"description": "",
"modified": "2015-06-23",
"root_model": 9,
"root_model_name": "bar",
"displayfield_set": [
{
"id": 13,
"path": "",
"path_verbose": "",
"field": "char_field",
"field_verbose": "char field",
"name": "char_field",
"sort": null,
"sort_reverse": false,
"width": 15,
"aggregate": "",
"position": 0,
"total": false,
"group": false,
"report": 1,
"display_format": null,
"field_type": "CharField"
},
{
"id": 14,
"path": "",
"path_verbose": "",
"field": "char_field",
"field_verbose": "char field",
"name": "char_field",
"sort": null,
"sort_reverse": false,
"width": 15,
"aggregate": "",
"position": 1,
"total": false,
"group": false,
"report": 1,
"display_format": null,
"field_type": "CharField"
}
],
"distinct": false,
"user_created": 1,
"user_modified": null,
"filterfield_set": [
{
"id": 1,
"path": "",
"path_verbose": "",
"field": "char_field",
"field_verbose": "char field",
"field_type": "CharField",
"filter_type": "contains",
"filter_value": "a",
"filter_value2": "",
"exclude": false,
"position": 0,
"report": 1
}
],
"report_file": "http://localhost:8080/media/report_files/1_asd.xlsx",
"report_file_creation": "2015-06-22T21:29:34.269056Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment