)]}'
{"doc/source/topics/table_actions.rst":[{"author":{"_account_id":8984,"name":"George Peristerakis","email":"gperiste@redhat.com","username":"peristeri"},"change_message_id":"f4ede4fae783bd54a204494831ae9a24a5e000d9","unresolved":false,"context_lines":[{"line_number":147,"context_line":"    from openstack_dashboard.dashboards.mydashboard.mypanel \\"},{"line_number":148,"context_line":"        import forms as project_forms"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"The complete ``views.py`` file should now look something like this::"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    from django.core.urlresolvers import reverse"},{"line_number":153,"context_line":"    from django.core.urlresolvers import reverse_lazy"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_4a777d3b","line":150,"updated":"2015-02-10 16:37:46.000000000","message":"There\u0027s no need to split the view file into 2 parts. It does not provide any additional information.\n\nI suggest to include just the complete version and delete the 2 parts above.","commit_id":"700c4e954a12d7a7c22d2108fd034c8181c6b295"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"82c6f49c30791bb07f909ba2632d914fa5c04614","unresolved":false,"context_lines":[{"line_number":147,"context_line":"    from openstack_dashboard.dashboards.mydashboard.mypanel \\"},{"line_number":148,"context_line":"        import forms as project_forms"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"The complete ``views.py`` file should now look something like this::"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    from django.core.urlresolvers import reverse"},{"line_number":153,"context_line":"    from django.core.urlresolvers import reverse_lazy"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_e90f5686","line":150,"in_reply_to":"da86d52c_4a777d3b","updated":"2015-02-10 19:58:09.000000000","message":"I\u0027ll do this, and add some sort of indicator to show where the added code is.\n\nDo you think this should be done below when adding code to urls.py and tables.py?","commit_id":"700c4e954a12d7a7c22d2108fd034c8181c6b295"},{"author":{"_account_id":8984,"name":"George Peristerakis","email":"gperiste@redhat.com","username":"peristeri"},"change_message_id":"b4ab6e017e21eab8069e7ebaea95d4bd8d575089","unresolved":false,"context_lines":[{"line_number":147,"context_line":"    from openstack_dashboard.dashboards.mydashboard.mypanel \\"},{"line_number":148,"context_line":"        import forms as project_forms"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"The complete ``views.py`` file should now look something like this::"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    from django.core.urlresolvers import reverse"},{"line_number":153,"context_line":"    from django.core.urlresolvers import reverse_lazy"}],"source_content_type":"text/x-rst","patch_set":13,"id":"da86d52c_d80ea78b","line":150,"in_reply_to":"da86d52c_e90f5686","updated":"2015-02-11 21:39:43.000000000","message":"The view is straight forward, adding more details should be in tables.py where I think there\u0027s more going on there.","commit_id":"700c4e954a12d7a7c22d2108fd034c8181c6b295"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"938656d80f1c578bf16f685cdfb342f85c717500","unresolved":false,"context_lines":[{"line_number":56,"context_line":"The form"},{"line_number":57,"context_line":"--------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Horizon provides a :class:`~horizon.forms.SelfHandlingForm` class which simplifies"},{"line_number":60,"context_line":"some of the details involved in creating a form. Our form will derive from this"},{"line_number":61,"context_line":"class, adding a character field to allow the user to specify a name for the"},{"line_number":62,"context_line":"snapshot, and handling the successful closure of the form by calling the nova"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_734bae59","line":59,"updated":"2015-02-20 17:55:09.000000000","message":"for some reason, I can\u0027t click on it. not sure if a browser problem","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"f7b6ce3353b93f2c4dd99437a2ce976f3ab2af15","unresolved":false,"context_lines":[{"line_number":56,"context_line":"The form"},{"line_number":57,"context_line":"--------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Horizon provides a :class:`~horizon.forms.SelfHandlingForm` class which simplifies"},{"line_number":60,"context_line":"some of the details involved in creating a form. Our form will derive from this"},{"line_number":61,"context_line":"class, adding a character field to allow the user to specify a name for the"},{"line_number":62,"context_line":"snapshot, and handling the successful closure of the form by calling the nova"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_bf4b1d58","line":59,"in_reply_to":"ba7be1f8_734bae59","updated":"2015-02-21 00:23:06.000000000","message":"Done","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"938656d80f1c578bf16f685cdfb342f85c717500","unresolved":false,"context_lines":[{"line_number":94,"context_line":"--------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Now, the view will tie together the template and the form. Horizon provides a"},{"line_number":97,"context_line":":class:`~horizon.forms.ModalFormView` class which simplifies the creation of a"},{"line_number":98,"context_line":"view that will contain a modal form."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Open the ``views.py`` file under the ``mypanel`` directory and add the code"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_b374469d","line":97,"updated":"2015-02-20 17:55:09.000000000","message":"can click this one too, nothing happens","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"f7b6ce3353b93f2c4dd99437a2ce976f3ab2af15","unresolved":false,"context_lines":[{"line_number":94,"context_line":"--------"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Now, the view will tie together the template and the form. Horizon provides a"},{"line_number":97,"context_line":":class:`~horizon.forms.ModalFormView` class which simplifies the creation of a"},{"line_number":98,"context_line":"view that will contain a modal form."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Open the ``views.py`` file under the ``mypanel`` directory and add the code"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_df48d15d","line":97,"in_reply_to":"ba7be1f8_b374469d","updated":"2015-02-21 00:23:06.000000000","message":"Done","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"938656d80f1c578bf16f685cdfb342f85c717500","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"        def allowed(self, request, instance\u003dNone):"},{"line_number":219,"context_line":"            return instance.status in (\"ACTIVE\") \\"},{"line_number":220,"context_line":"                and not is_deleting(instance)"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"We must also add our new action as a row action for the table::"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_334bf62c","line":220,"updated":"2015-02-20 17:55:09.000000000","message":"maybe describe what is allowed method for?","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"f7b6ce3353b93f2c4dd99437a2ce976f3ab2af15","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"        def allowed(self, request, instance\u003dNone):"},{"line_number":219,"context_line":"            return instance.status in (\"ACTIVE\") \\"},{"line_number":220,"context_line":"                and not is_deleting(instance)"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"We must also add our new action as a row action for the table::"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_ff74b59d","line":220,"in_reply_to":"ba7be1f8_334bf62c","updated":"2015-02-21 00:23:06.000000000","message":"Done","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"}],"doc/source/topics/tutorial.rst":[{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"25765f6a39879d9b53b93c6eb16234bc081568cd","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"\tFor more information on the attributes for all the action classes, please refer to the"},{"line_number":288,"context_line":"\t`Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_567b21f4","line":287,"updated":"2015-01-09 19:44:17.000000000","message":"please remove spaces","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"49c1015d6cb56496fcc47b8ee84d9a9c7a45f777","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"\tFor more information on the attributes for all the action classes, please refer to the"},{"line_number":288,"context_line":"\t`Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_89464e7a","line":287,"in_reply_to":"3a961159_567b21f4","updated":"2015-01-09 20:23:29.000000000","message":"Done","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"25765f6a39879d9b53b93c6eb16234bc081568cd","unresolved":false,"context_lines":[{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"\tFor more information on the attributes for all the action classes, please refer to the"},{"line_number":288,"context_line":"\t`Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_09c25e53","line":288,"updated":"2015-01-09 19:44:17.000000000","message":"same as above","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"49c1015d6cb56496fcc47b8ee84d9a9c7a45f777","unresolved":false,"context_lines":[{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"\tFor more information on the attributes for all the action classes, please refer to the"},{"line_number":288,"context_line":"\t`Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_a95a2a4f","line":288,"in_reply_to":"3a961159_09c25e53","updated":"2015-01-09 20:23:29.000000000","message":"Done","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"25765f6a39879d9b53b93c6eb16234bc081568cd","unresolved":false,"context_lines":[{"line_number":287,"context_line":"\tFor more information on the attributes for all the action classes, please refer to the"},{"line_number":288,"context_line":"\t`Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_c9c77664","line":290,"updated":"2015-01-09 19:44:17.000000000","message":"same as above","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"49c1015d6cb56496fcc47b8ee84d9a9c7a45f777","unresolved":false,"context_lines":[{"line_number":287,"context_line":"\tFor more information on the attributes for all the action classes, please refer to the"},{"line_number":288,"context_line":"\t`Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_e9543224","line":290,"in_reply_to":"3a961159_c9c77664","updated":"2015-01-09 20:23:29.000000000","message":"Done","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"25765f6a39879d9b53b93c6eb16234bc081568cd","unresolved":false,"context_lines":[{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"To add a filter action which will only show rows which contain the string entered in the filter field, we must"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_e99b5271","line":292,"updated":"2015-01-09 19:44:17.000000000","message":"I think you might want to use deleteAction for the table instead of using filter action to make it simpler. We can still have the link action. It might be nice to have a simple action to help new user to walk through on how to create a template, a form and etc","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"5828323360243de095eae34e5c7c909e37434d50","unresolved":false,"context_lines":[{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"To add a filter action which will only show rows which contain the string entered in the filter field, we must"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_e29c475e","line":292,"in_reply_to":"3a961159_097b3ebf","updated":"2015-01-09 21:50:05.000000000","message":"FilterAction and LinkAction are good example of the types of actions we can have for the table. The linkAction you have is sort of reuse what it has. What I try to say is for tutorial purpose, we need to teach users to create an LinkAction from scratch. It needs to add a template and a form when user clicks the action button.","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"49c1015d6cb56496fcc47b8ee84d9a9c7a45f777","unresolved":false,"context_lines":[{"line_number":289,"context_line":""},{"line_number":290,"context_line":"\t.. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"To add a filter action which will only show rows which contain the string entered in the filter field, we must"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_097b3ebf","line":292,"in_reply_to":"3a961159_e99b5271","updated":"2015-01-09 20:23:29.000000000","message":"So, are we expanding the requirements to do a template, form, etc?  If not, I think doing the FilterAction is very simple.","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"25765f6a39879d9b53b93c6eb16234bc081568cd","unresolved":false,"context_lines":[{"line_number":337,"context_line":"    class InstancesTable(tables.DataTable):"},{"line_number":338,"context_line":"        name \u003d tables.Column(\"name\", verbose_name\u003d_(\"Name\"))"},{"line_number":339,"context_line":"        status \u003d tables.Column(\"status\", verbose_name\u003d_(\"Status\"))"},{"line_number":340,"context_line":"        zone \u003d tables.Column(\u0027availability_zone\u0027, verbose_name\u003d_(\"Availability Zone\"))"},{"line_number":341,"context_line":"        image_name \u003d tables.Column(\u0027image_name\u0027, verbose_name\u003d_(\"Image Name\"))"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"        class Meta:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_6923e258","line":340,"range":{"start_line":340,"start_character":79,"end_line":340,"end_character":83},"updated":"2015-01-09 19:44:17.000000000","message":"this line will be more than 79, need make sure the code follows pep8 statndards.","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"49c1015d6cb56496fcc47b8ee84d9a9c7a45f777","unresolved":false,"context_lines":[{"line_number":337,"context_line":"    class InstancesTable(tables.DataTable):"},{"line_number":338,"context_line":"        name \u003d tables.Column(\"name\", verbose_name\u003d_(\"Name\"))"},{"line_number":339,"context_line":"        status \u003d tables.Column(\"status\", verbose_name\u003d_(\"Status\"))"},{"line_number":340,"context_line":"        zone \u003d tables.Column(\u0027availability_zone\u0027, verbose_name\u003d_(\"Availability Zone\"))"},{"line_number":341,"context_line":"        image_name \u003d tables.Column(\u0027image_name\u0027, verbose_name\u003d_(\"Image Name\"))"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"        class Meta:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_491aa67d","line":340,"in_reply_to":"3a961159_6923e258","updated":"2015-01-09 20:23:29.000000000","message":"Done","commit_id":"e4d7f36ef818a3609d1b3ec42a1026e9b7d09d1c"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"b558c966b5ce5ed3eb958322f619d008d85a6d1c","unresolved":false,"context_lines":[{"line_number":281,"context_line":""},{"line_number":282,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"},{"line_number":283,"context_line":"represent a filter action on the table\u0027s data."},{"line_number":284,"context_line":""},{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"For more information on the attributes for all the action classes, please refer "}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_ff0752c7","line":284,"updated":"2015-01-12 20:34:14.000000000","message":"missing: BatchAction, FixedFilter, DeleteAction and UpdateAction\n\nAlso mention they all inherit from the Action class","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"62452d811ae58b57e5debfe46a32e10487f61215","unresolved":false,"context_lines":[{"line_number":281,"context_line":""},{"line_number":282,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"},{"line_number":283,"context_line":"represent a filter action on the table\u0027s data."},{"line_number":284,"context_line":""},{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"For more information on the attributes for all the action classes, please refer "}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_a21db1c0","line":284,"in_reply_to":"3a961159_ff0752c7","updated":"2015-01-12 21:02:21.000000000","message":"Done","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"b558c966b5ce5ed3eb958322f619d008d85a6d1c","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"For more information on the attributes for all the action classes, please refer "},{"line_number":288,"context_line":"to the `Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_ff7672a2","line":287,"updated":"2015-01-12 20:34:14.000000000","message":"remove whitespace\n\n*for each of the action classes","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"62452d811ae58b57e5debfe46a32e10487f61215","unresolved":false,"context_lines":[{"line_number":284,"context_line":""},{"line_number":285,"context_line":".. note::"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"For more information on the attributes for all the action classes, please refer "},{"line_number":288,"context_line":"to the `Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_626ae91c","line":287,"in_reply_to":"3a961159_ff7672a2","updated":"2015-01-12 21:02:21.000000000","message":"Done","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"b558c966b5ce5ed3eb958322f619d008d85a6d1c","unresolved":false,"context_lines":[{"line_number":288,"context_line":"to the `Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_7f452214","line":291,"updated":"2015-01-12 20:34:14.000000000","message":"maybe be more specific? http://docs.openstack.org/developer/horizon/ref/tables.html#actions","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"62452d811ae58b57e5debfe46a32e10487f61215","unresolved":false,"context_lines":[{"line_number":288,"context_line":"to the `Horizon DataTable Documentation`_."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html"},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"We will create a filter action for the table, and a link action for each row in the table. For both, we will be"},{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_8267d550","line":291,"in_reply_to":"3a961159_7f452214","updated":"2015-01-12 21:02:21.000000000","message":"Done","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"b558c966b5ce5ed3eb958322f619d008d85a6d1c","unresolved":false,"context_lines":[{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"To add a filter action which will only show rows which contain the string entered in the filter field, we must"},{"line_number":296,"context_line":"first define the action::"},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"    class MyFilterAction(tables.FilterAction):"},{"line_number":299,"context_line":"        name \u003d \"myfilter\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_df76160c","line":296,"updated":"2015-01-12 20:34:14.000000000","message":"probably mention that this will simply default to the \"query\" filter which uses the clientside tablesorter (https://github.com/openstack/horizon/blob/master/horizon/tables/actions.py#L429)","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"62452d811ae58b57e5debfe46a32e10487f61215","unresolved":false,"context_lines":[{"line_number":293,"context_line":"editing the ``tables.py`` file used above."},{"line_number":294,"context_line":""},{"line_number":295,"context_line":"To add a filter action which will only show rows which contain the string entered in the filter field, we must"},{"line_number":296,"context_line":"first define the action::"},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"    class MyFilterAction(tables.FilterAction):"},{"line_number":299,"context_line":"        name \u003d \"myfilter\""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_6274a9d0","line":296,"in_reply_to":"3a961159_df76160c","updated":"2015-01-12 21:02:21.000000000","message":"Done","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"b558c966b5ce5ed3eb958322f619d008d85a6d1c","unresolved":false,"context_lines":[{"line_number":297,"context_line":""},{"line_number":298,"context_line":"    class MyFilterAction(tables.FilterAction):"},{"line_number":299,"context_line":"        name \u003d \"myfilter\""},{"line_number":300,"context_line":""},{"line_number":301,"context_line":""},{"line_number":302,"context_line":"Then, we add that action to the table actions for our table.::"},{"line_number":303,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_9f464ebf","line":300,"updated":"2015-01-12 20:34:14.000000000","message":"side note: seems like the docs don\u0027t provide all the FilterAction attributes... \n\nopened up a new bug: https://bugs.launchpad.net/horizon/+bug/1409892","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"b558c966b5ce5ed3eb958322f619d008d85a6d1c","unresolved":false,"context_lines":[{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    class InstancesTable:"},{"line_number":313,"context_line":"        class Meta:"},{"line_number":314,"context_line":"            row_actions \u003d (project_tables.LogLink,)"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Of course, we will need to import ``project_tables``.::"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_7f1fe270","line":314,"updated":"2015-01-12 20:34:14.000000000","message":"As an example, importing from project instances table isn\u0027t useful.\n\nMaybe include the whole example: \n\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/tables.py#L416\n\n def allowed(self, request, instance\u003dNone):\n        # check for whether action is allowed\n\n    def get_link_url(self, datum):\n        # return link url","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"62452d811ae58b57e5debfe46a32e10487f61215","unresolved":false,"context_lines":[{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    class InstancesTable:"},{"line_number":313,"context_line":"        class Meta:"},{"line_number":314,"context_line":"            row_actions \u003d (project_tables.LogLink,)"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Of course, we will need to import ``project_tables``.::"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_423ecddb","line":314,"in_reply_to":"3a961159_7f1fe270","updated":"2015-01-12 21:02:21.000000000","message":"Per Gloria Gu\u0027s suggestion, changed to fully define a link action that requires the definition of the action, form, template, and view.","commit_id":"dcde74a361dd7019ee8ada6ed14c40e74b5ea75e"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"8402819116dd5c0949f98f8059d517c2b35cc5b5","unresolved":false,"context_lines":[{"line_number":280,"context_line":"Horizon provides three types of basic action classes which can be taken"},{"line_number":281,"context_line":"on a table\u0027s data:"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":":class:`~horizon.tables.Action` class which can be used to"},{"line_number":284,"context_line":"represent an action which can be taken on the table\u0027s data."},{"line_number":285,"context_line":""},{"line_number":286,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_a321b350","line":283,"updated":"2015-01-15 21:03:22.000000000","message":"Suggestion / question: would you want to mention that typically this is a form POST action? i.e. It would read, ... class which can be used to represent an action, typically a form POST, which can be taken on the table\u0027s data.","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"a75fc48d4a5062f5d47a146eecca76c332122c03","unresolved":false,"context_lines":[{"line_number":280,"context_line":"Horizon provides three types of basic action classes which can be taken"},{"line_number":281,"context_line":"on a table\u0027s data:"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":":class:`~horizon.tables.Action` class which can be used to"},{"line_number":284,"context_line":"represent an action which can be taken on the table\u0027s data."},{"line_number":285,"context_line":""},{"line_number":286,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_74cce061","line":283,"in_reply_to":"3a961159_a321b350","updated":"2015-01-15 21:51:24.000000000","message":"Done","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"8402819116dd5c0949f98f8059d517c2b35cc5b5","unresolved":false,"context_lines":[{"line_number":300,"context_line":"which can be used to perform delete operations on the table\u0027s data."},{"line_number":301,"context_line":""},{"line_number":302,"context_line":":class:`~horizon.tables.UpdateAction`, inherits from :class:`~horizon.tables.BatchAction`,"},{"line_number":303,"context_line":"which can be used to cell perform updates by inline editing on the table\u0027s data."},{"line_number":304,"context_line":""},{"line_number":305,"context_line":":class:`~horizon.tables.FixedFilterAction`, inherits from :class:`~horizon.tables.FilterAction`,"},{"line_number":306,"context_line":"which provides a filter action with fixed buttons.."}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_83be77d2","line":303,"updated":"2015-01-15 21:03:22.000000000","message":"rewording:   ... which can be used to perform cell updates  ...","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"a75fc48d4a5062f5d47a146eecca76c332122c03","unresolved":false,"context_lines":[{"line_number":300,"context_line":"which can be used to perform delete operations on the table\u0027s data."},{"line_number":301,"context_line":""},{"line_number":302,"context_line":":class:`~horizon.tables.UpdateAction`, inherits from :class:`~horizon.tables.BatchAction`,"},{"line_number":303,"context_line":"which can be used to cell perform updates by inline editing on the table\u0027s data."},{"line_number":304,"context_line":""},{"line_number":305,"context_line":":class:`~horizon.tables.FixedFilterAction`, inherits from :class:`~horizon.tables.FilterAction`,"},{"line_number":306,"context_line":"which provides a filter action with fixed buttons.."}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_14fb9c7b","line":303,"in_reply_to":"3a961159_83be77d2","updated":"2015-01-15 21:51:24.000000000","message":"Done","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"8402819116dd5c0949f98f8059d517c2b35cc5b5","unresolved":false,"context_lines":[{"line_number":303,"context_line":"which can be used to cell perform updates by inline editing on the table\u0027s data."},{"line_number":304,"context_line":""},{"line_number":305,"context_line":":class:`~horizon.tables.FixedFilterAction`, inherits from :class:`~horizon.tables.FilterAction`,"},{"line_number":306,"context_line":"which provides a filter action with fixed buttons.."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":""},{"line_number":309,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_c3b4fff2","line":306,"updated":"2015-01-15 21:03:22.000000000","message":"remove one of the periods at the end","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"a75fc48d4a5062f5d47a146eecca76c332122c03","unresolved":false,"context_lines":[{"line_number":303,"context_line":"which can be used to cell perform updates by inline editing on the table\u0027s data."},{"line_number":304,"context_line":""},{"line_number":305,"context_line":":class:`~horizon.tables.FixedFilterAction`, inherits from :class:`~horizon.tables.FilterAction`,"},{"line_number":306,"context_line":"which provides a filter action with fixed buttons.."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":""},{"line_number":309,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_54f8c47b","line":306,"in_reply_to":"3a961159_c3b4fff2","updated":"2015-01-15 21:51:24.000000000","message":"Done","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"8402819116dd5c0949f98f8059d517c2b35cc5b5","unresolved":false,"context_lines":[{"line_number":313,"context_line":""},{"line_number":314,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"To create an action in the table, edit the ``tables.py`` file used above and add the"},{"line_number":317,"context_line":"following code to define the action and add the action to the table::"},{"line_number":318,"context_line":""},{"line_number":319,"context_line":"To add a filter action which will only show rows which contain the string"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_23014307","line":316,"updated":"2015-01-15 21:03:22.000000000","message":"IMO, the structure of the sentence is kind of hard to read..  What about something like...\n\nNow lets create and add a filter action to the table.   To do so, we will need to edit the `tables.py`` file used above and add the following code::\n\nFirst we must define the action::","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"a75fc48d4a5062f5d47a146eecca76c332122c03","unresolved":false,"context_lines":[{"line_number":313,"context_line":""},{"line_number":314,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"To create an action in the table, edit the ``tables.py`` file used above and add the"},{"line_number":317,"context_line":"following code to define the action and add the action to the table::"},{"line_number":318,"context_line":""},{"line_number":319,"context_line":"To add a filter action which will only show rows which contain the string"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_348338cc","line":316,"in_reply_to":"3a961159_23014307","updated":"2015-01-15 21:51:24.000000000","message":"Done","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"8402819116dd5c0949f98f8059d517c2b35cc5b5","unresolved":false,"context_lines":[{"line_number":324,"context_line":""},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"The action specified above will default the ``filter_type`` to be ``\"query\"``."},{"line_number":327,"context_line":"This means that the filter will use the client side table sorter."},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"Then, we add that action to the table actions for our table.::"},{"line_number":330,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_be6e28c6","line":327,"updated":"2015-01-15 21:03:22.000000000","message":"Suggestion: Would it highlight and be easier to read if the above statement was inside a note::","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"a75fc48d4a5062f5d47a146eecca76c332122c03","unresolved":false,"context_lines":[{"line_number":324,"context_line":""},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"The action specified above will default the ``filter_type`` to be ``\"query\"``."},{"line_number":327,"context_line":"This means that the filter will use the client side table sorter."},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"Then, we add that action to the table actions for our table.::"},{"line_number":330,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3a961159_546d2431","line":327,"in_reply_to":"3a961159_be6e28c6","updated":"2015-01-15 21:51:24.000000000","message":"Done","commit_id":"d3341154153d565944884e8366437150aec0e9bc"},{"author":{"_account_id":11592,"name":"Julie Gravel","email":"julie.gravel@suse.com","username":"jgravel"},"change_message_id":"3b979fa463e14cc64bdd9c970dfc02f154c26571","unresolved":false,"context_lines":[{"line_number":315,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Now lets create and add a filter action to the table. To do so, we will need"},{"line_number":318,"context_line":"to edit the `tables.py`` file used above and add the following code::"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"To add a filter action which will only show rows which contain the string"},{"line_number":321,"context_line":"entered in the filter field, we must first define the action::"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a930d6b_ddf38a08","line":318,"updated":"2015-01-21 23:05:37.000000000","message":"Shouldn\u0027t the next line be the code, i.e. like line 323, instead of another paragraph of explanation?","commit_id":"9e69fc0f421203e9cf3e094c3f0adaa0fc62ff8c"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"0c2835aa243af99b88f90c1cdc70dfccd50ac421","unresolved":false,"context_lines":[{"line_number":315,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Now lets create and add a filter action to the table. To do so, we will need"},{"line_number":318,"context_line":"to edit the `tables.py`` file used above and add the following code::"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"To add a filter action which will only show rows which contain the string"},{"line_number":321,"context_line":"entered in the filter field, we must first define the action::"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a930d6b_c06f07c4","line":318,"in_reply_to":"1a930d6b_ddf38a08","updated":"2015-01-22 15:57:29.000000000","message":"Done","commit_id":"9e69fc0f421203e9cf3e094c3f0adaa0fc62ff8c"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"61f97210ef8228e2ae8c2fc83c4918738eeb6661","unresolved":false,"context_lines":[{"line_number":747,"context_line":"                return api.nova.server_get(self.request,"},{"line_number":748,"context_line":"                                           self.kwargs[\"instance_id\"])"},{"line_number":749,"context_line":"            except Exception:"},{"line_number":750,"context_line":"                redirect \u003d reverse(\u0027horizon:mydashboard:mypanel:index\u0027)"},{"line_number":751,"context_line":"                exceptions.handle(self.request,"},{"line_number":752,"context_line":"                                  _(\"Unable to retrieve instance.\"),"},{"line_number":753,"context_line":"                                  redirect\u003dredirect)"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_0a69708b","line":750,"updated":"2015-01-27 23:31:58.000000000","message":"you might not need this.","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"39e03d1fa9706afd2790098f8f14cf4bcba9b5f3","unresolved":false,"context_lines":[{"line_number":747,"context_line":"                return api.nova.server_get(self.request,"},{"line_number":748,"context_line":"                                           self.kwargs[\"instance_id\"])"},{"line_number":749,"context_line":"            except Exception:"},{"line_number":750,"context_line":"                redirect \u003d reverse(\u0027horizon:mydashboard:mypanel:index\u0027)"},{"line_number":751,"context_line":"                exceptions.handle(self.request,"},{"line_number":752,"context_line":"                                  _(\"Unable to retrieve instance.\"),"},{"line_number":753,"context_line":"                                  redirect\u003dredirect)"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_7f9409e2","line":750,"in_reply_to":"fa81d914_0a69708b","updated":"2015-01-29 17:22:06.000000000","message":"Done","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"61f97210ef8228e2ae8c2fc83c4918738eeb6661","unresolved":false,"context_lines":[{"line_number":757,"context_line":""},{"line_number":758,"context_line":"        def get_context_data(self, **kwargs):"},{"line_number":759,"context_line":"            context \u003d super(CreateSnapshotView, self).get_context_data(**kwargs)"},{"line_number":760,"context_line":"            context[\u0027instance\u0027] \u003d self.get_object()"},{"line_number":761,"context_line":"            return context"},{"line_number":762,"context_line":""},{"line_number":763,"context_line":"We must also import the items needed for this new view::"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_aa01443b","line":760,"range":{"start_line":760,"start_character":39,"end_line":760,"end_character":49},"updated":"2015-01-27 23:31:58.000000000","message":"need the code to pass the id to the submit url","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"39e03d1fa9706afd2790098f8f14cf4bcba9b5f3","unresolved":false,"context_lines":[{"line_number":757,"context_line":""},{"line_number":758,"context_line":"        def get_context_data(self, **kwargs):"},{"line_number":759,"context_line":"            context \u003d super(CreateSnapshotView, self).get_context_data(**kwargs)"},{"line_number":760,"context_line":"            context[\u0027instance\u0027] \u003d self.get_object()"},{"line_number":761,"context_line":"            return context"},{"line_number":762,"context_line":""},{"line_number":763,"context_line":"We must also import the items needed for this new view::"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_5cc6734a","line":760,"in_reply_to":"fa81d914_aa01443b","updated":"2015-01-29 17:22:06.000000000","message":"Done","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"61f97210ef8228e2ae8c2fc83c4918738eeb6661","unresolved":false,"context_lines":[{"line_number":808,"context_line":"    class CreateSnapshotView(forms.ModalFormView):"},{"line_number":809,"context_line":"        form_class \u003d project_forms.CreateSnapshot"},{"line_number":810,"context_line":"        template_name \u003d \u0027mydashboard/mypanel/create_snapshot.html\u0027"},{"line_number":811,"context_line":"        success_url \u003d reverse_lazy(\"horizon:project:images:index\")"},{"line_number":812,"context_line":"        modal_id \u003d \"create_snapshot_modal\""},{"line_number":813,"context_line":"        modal_header \u003d _(\"Create Snapshot\")"},{"line_number":814,"context_line":"        submit_label \u003d _(\"Create Snapshot\")"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_07b6c93d","line":811,"range":{"start_line":811,"start_character":59,"end_line":811,"end_character":64},"updated":"2015-01-27 23:31:58.000000000","message":"wrong url","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"6efd9971761832ee2195f96bda12b65c5870bd74","unresolved":false,"context_lines":[{"line_number":808,"context_line":"    class CreateSnapshotView(forms.ModalFormView):"},{"line_number":809,"context_line":"        form_class \u003d project_forms.CreateSnapshot"},{"line_number":810,"context_line":"        template_name \u003d \u0027mydashboard/mypanel/create_snapshot.html\u0027"},{"line_number":811,"context_line":"        success_url \u003d reverse_lazy(\"horizon:project:images:index\")"},{"line_number":812,"context_line":"        modal_id \u003d \"create_snapshot_modal\""},{"line_number":813,"context_line":"        modal_header \u003d _(\"Create Snapshot\")"},{"line_number":814,"context_line":"        submit_label \u003d _(\"Create Snapshot\")"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_dbf56ccc","line":811,"range":{"start_line":811,"start_character":59,"end_line":811,"end_character":64},"in_reply_to":"fa81d914_07b6c93d","updated":"2015-01-28 01:00:30.000000000","message":"actually, just realize, when it is sucessful, it goes to image page to see the result. It is correct","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":11880,"name":"Gloria Gu","email":"gloriafanggu@gmail.com","username":"gugl"},"change_message_id":"61f97210ef8228e2ae8c2fc83c4918738eeb6661","unresolved":false,"context_lines":[{"line_number":811,"context_line":"        success_url \u003d reverse_lazy(\"horizon:project:images:index\")"},{"line_number":812,"context_line":"        modal_id \u003d \"create_snapshot_modal\""},{"line_number":813,"context_line":"        modal_header \u003d _(\"Create Snapshot\")"},{"line_number":814,"context_line":"        submit_label \u003d _(\"Create Snapshot\")"},{"line_number":815,"context_line":"        submit_url \u003d \"horizon:mydashboard:mypanel:create_snapshot\""},{"line_number":816,"context_line":""},{"line_number":817,"context_line":"        @memoized.memoized_method"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_94d669c4","line":814,"range":{"start_line":814,"start_character":41,"end_line":814,"end_character":43},"updated":"2015-01-27 23:31:58.000000000","message":"missing import for _  from django.utils.translation import ugettext_lazy as _","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"39e03d1fa9706afd2790098f8f14cf4bcba9b5f3","unresolved":false,"context_lines":[{"line_number":811,"context_line":"        success_url \u003d reverse_lazy(\"horizon:project:images:index\")"},{"line_number":812,"context_line":"        modal_id \u003d \"create_snapshot_modal\""},{"line_number":813,"context_line":"        modal_header \u003d _(\"Create Snapshot\")"},{"line_number":814,"context_line":"        submit_label \u003d _(\"Create Snapshot\")"},{"line_number":815,"context_line":"        submit_url \u003d \"horizon:mydashboard:mypanel:create_snapshot\""},{"line_number":816,"context_line":""},{"line_number":817,"context_line":"        @memoized.memoized_method"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa81d914_fcb1e7e1","line":814,"in_reply_to":"fa81d914_94d669c4","updated":"2015-01-29 17:22:06.000000000","message":"Done","commit_id":"16df3afeb77e2e2863665bc56df349e22d51137e"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":284,"context_line":"represent an action, typically a form POST, which can be"},{"line_number":285,"context_line":"taken on the table\u0027s data."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"},{"line_number":288,"context_line":"represent an action which is a link rather than a form POST."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_f22fbe86","line":287,"updated":"2015-02-06 18:25:02.000000000","message":"definition is circular -\u003e an action that redirects to another page.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"4aab71dc0aca0fa563b753909cf83026df5bf9c5","unresolved":false,"context_lines":[{"line_number":284,"context_line":"represent an action, typically a form POST, which can be"},{"line_number":285,"context_line":"taken on the table\u0027s data."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"},{"line_number":288,"context_line":"represent an action which is a link rather than a form POST."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_71a470b9","line":287,"in_reply_to":"da86d52c_cb6d9c9b","updated":"2015-02-09 17:20:39.000000000","message":"Done","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"b27f1bedfc457a9e0fbac7a4bf03238f498dcfb2","unresolved":false,"context_lines":[{"line_number":284,"context_line":"represent an action, typically a form POST, which can be"},{"line_number":285,"context_line":"taken on the table\u0027s data."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"},{"line_number":288,"context_line":"represent an action which is a link rather than a form POST."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_cb6d9c9b","line":287,"in_reply_to":"da86d52c_f22fbe86","updated":"2015-02-06 22:21:20.000000000","message":"Not understanding what the problem is.  Please explain.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":287,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"},{"line_number":288,"context_line":"represent an action which is a link rather than a form POST."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"},{"line_number":291,"context_line":"represent a filter action on the table\u0027s data."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_521faa5b","line":290,"updated":"2015-02-06 18:25:02.000000000","message":"definition is circular here too","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"4aab71dc0aca0fa563b753909cf83026df5bf9c5","unresolved":false,"context_lines":[{"line_number":287,"context_line":":class:`~horizon.tables.LinkAction` class which can be used to"},{"line_number":288,"context_line":"represent an action which is a link rather than a form POST."},{"line_number":289,"context_line":""},{"line_number":290,"context_line":":class:`~horizon.tables.FilterAction` class which can be used to"},{"line_number":291,"context_line":"represent a filter action on the table\u0027s data."},{"line_number":292,"context_line":""},{"line_number":293,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_91aba488","line":290,"in_reply_to":"da86d52c_521faa5b","updated":"2015-02-09 17:20:39.000000000","message":"Done","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":303,"context_line":":class:`~horizon.tables.UpdateAction`, inherits from :class:`~horizon.tables.BatchAction`,"},{"line_number":304,"context_line":"which can be used to perform cell updates by inline editing of the table\u0027s data."},{"line_number":305,"context_line":""},{"line_number":306,"context_line":":class:`~horizon.tables.FixedFilterAction`, inherits from :class:`~horizon.tables.FilterAction`,"},{"line_number":307,"context_line":"which provides a filter action with fixed buttons."},{"line_number":308,"context_line":""},{"line_number":309,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_9294c28d","line":306,"updated":"2015-02-06 18:25:02.000000000","message":"all of these are circular as well, please update.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"4aab71dc0aca0fa563b753909cf83026df5bf9c5","unresolved":false,"context_lines":[{"line_number":303,"context_line":":class:`~horizon.tables.UpdateAction`, inherits from :class:`~horizon.tables.BatchAction`,"},{"line_number":304,"context_line":"which can be used to perform cell updates by inline editing of the table\u0027s data."},{"line_number":305,"context_line":""},{"line_number":306,"context_line":":class:`~horizon.tables.FixedFilterAction`, inherits from :class:`~horizon.tables.FilterAction`,"},{"line_number":307,"context_line":"which provides a filter action with fixed buttons."},{"line_number":308,"context_line":""},{"line_number":309,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_b1aee896","line":306,"in_reply_to":"da86d52c_9294c28d","updated":"2015-02-09 17:20:39.000000000","message":"Done","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":314,"context_line":""},{"line_number":315,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Now lets create and add a filter action to the table. To do so, we will need"},{"line_number":318,"context_line":"to edit the ``tables.py`` file used above. To add a filter action which will"},{"line_number":319,"context_line":"only show rows which contain the string entered in the filter field, we"},{"line_number":320,"context_line":"must first define the action::"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_f2e25e2e","line":317,"updated":"2015-02-06 18:25:02.000000000","message":"lets -\u003e let\u0027s","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"4aab71dc0aca0fa563b753909cf83026df5bf9c5","unresolved":false,"context_lines":[{"line_number":314,"context_line":""},{"line_number":315,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"Now lets create and add a filter action to the table. To do so, we will need"},{"line_number":318,"context_line":"to edit the ``tables.py`` file used above. To add a filter action which will"},{"line_number":319,"context_line":"only show rows which contain the string entered in the filter field, we"},{"line_number":320,"context_line":"must first define the action::"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_d1943c46","line":317,"in_reply_to":"da86d52c_f2e25e2e","updated":"2015-02-09 17:20:39.000000000","message":"Done","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":487,"context_line":"    from django.conf.urls import patterns"},{"line_number":488,"context_line":"    from django.conf.urls import url"},{"line_number":489,"context_line":""},{"line_number":490,"context_line":"    from openstack_dashboard.dashboards.mydashboard.mypanel.views \\"},{"line_number":491,"context_line":"        import IndexView"},{"line_number":492,"context_line":""},{"line_number":493,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_92cf6257","line":490,"updated":"2015-02-06 18:25:02.000000000","message":"490 and 491 goes, as it\u0027s a pep violation.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"b27f1bedfc457a9e0fbac7a4bf03238f498dcfb2","unresolved":false,"context_lines":[{"line_number":487,"context_line":"    from django.conf.urls import patterns"},{"line_number":488,"context_line":"    from django.conf.urls import url"},{"line_number":489,"context_line":""},{"line_number":490,"context_line":"    from openstack_dashboard.dashboards.mydashboard.mypanel.views \\"},{"line_number":491,"context_line":"        import IndexView"},{"line_number":492,"context_line":""},{"line_number":493,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_a8f6ae8e","line":490,"in_reply_to":"da86d52c_92cf6257","updated":"2015-02-06 22:21:20.000000000","message":"This is the contents of the auto-generated urls.py. Below I am showing how it should be corrected. I was told not to modify the templates with this change, that should be done via a new bug.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":493,"context_line":""},{"line_number":494,"context_line":"    urlpatterns \u003d patterns("},{"line_number":495,"context_line":"        \u0027\u0027,"},{"line_number":496,"context_line":"        url(r\u0027^$\u0027, IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":497,"context_line":"    )"},{"line_number":498,"context_line":""},{"line_number":499,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_d2f0fa93","line":496,"updated":"2015-02-06 18:25:02.000000000","message":"line 496 should be removed.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"b27f1bedfc457a9e0fbac7a4bf03238f498dcfb2","unresolved":false,"context_lines":[{"line_number":493,"context_line":""},{"line_number":494,"context_line":"    urlpatterns \u003d patterns("},{"line_number":495,"context_line":"        \u0027\u0027,"},{"line_number":496,"context_line":"        url(r\u0027^$\u0027, IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":497,"context_line":"    )"},{"line_number":498,"context_line":""},{"line_number":499,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_4b78cc8f","line":496,"in_reply_to":"da86d52c_d2f0fa93","updated":"2015-02-06 22:21:20.000000000","message":"Done","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":496,"context_line":"        url(r\u0027^$\u0027, IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":497,"context_line":"    )"},{"line_number":498,"context_line":""},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"Update the existing ``url`` pattern to use ``views`` ::"},{"line_number":501,"context_line":""},{"line_number":502,"context_line":"    url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_52e6cae9","line":499,"updated":"2015-02-06 18:25:02.000000000","message":"actually this part stays, but should be moved up with the other imports.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"b27f1bedfc457a9e0fbac7a4bf03238f498dcfb2","unresolved":false,"context_lines":[{"line_number":496,"context_line":"        url(r\u0027^$\u0027, IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":497,"context_line":"    )"},{"line_number":498,"context_line":""},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"Update the existing ``url`` pattern to use ``views`` ::"},{"line_number":501,"context_line":""},{"line_number":502,"context_line":"    url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_6ba4b008","line":499,"in_reply_to":"da86d52c_52e6cae9","updated":"2015-02-06 22:21:20.000000000","message":"Added back. Didn\u0027t move, since above it was describing the generated file.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"ba0c9d2f0e75b32094cb17b9a0a22ba308149334","unresolved":false,"context_lines":[{"line_number":632,"context_line":"devstack is correctly set up. Once the creation of an instance is successful, go"},{"line_number":633,"context_line":"to ``My Dashboard`` again to check the data."},{"line_number":634,"context_line":""},{"line_number":635,"context_line":""},{"line_number":636,"context_line":"Adding a more complex action"},{"line_number":637,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":638,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_92492235","line":635,"updated":"2015-02-06 18:25:02.000000000","message":"I wonder if we could put this in another file linked from here. The tutorial should not be overwhelming, but providing this resource is beneficial for those that want to dig deeper.","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"4aab71dc0aca0fa563b753909cf83026df5bf9c5","unresolved":false,"context_lines":[{"line_number":632,"context_line":"devstack is correctly set up. Once the creation of an instance is successful, go"},{"line_number":633,"context_line":"to ``My Dashboard`` again to check the data."},{"line_number":634,"context_line":""},{"line_number":635,"context_line":""},{"line_number":636,"context_line":"Adding a more complex action"},{"line_number":637,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":638,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da86d52c_718b901e","line":635,"in_reply_to":"da86d52c_92492235","updated":"2015-02-09 17:20:39.000000000","message":"Done","commit_id":"184947218fb6d0e580592f3206ff1ddd3ee5bfd7"},{"author":{"_account_id":11592,"name":"Julie Gravel","email":"julie.gravel@suse.com","username":"jgravel"},"change_message_id":"45ae6d05074983146415a26966a6ebaff5f80f7e","unresolved":false,"context_lines":[{"line_number":300,"context_line":""},{"line_number":301,"context_line":".. _Horizon DataTable Documentation: http://docs.openstack.org/developer/horizon/ref/tables.html#actions"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"Now lets create and add a filter action to the table. To do so, we will need"},{"line_number":304,"context_line":"to edit the ``tables.py`` file used above. To add a filter action which will"},{"line_number":305,"context_line":"only show rows which contain the string entered in the filter field, we"},{"line_number":306,"context_line":"must first define the action::"}],"source_content_type":"text/x-rst","patch_set":12,"id":"da86d52c_ab7cad73","line":303,"updated":"2015-02-09 19:15:40.000000000","message":"This line is not fixed, should be let\u0027s.","commit_id":"fde866bf72c2c41238c983fe0f92a17751f0e50e"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"938656d80f1c578bf16f685cdfb342f85c717500","unresolved":false,"context_lines":[{"line_number":282,"context_line":""},{"line_number":283,"context_line":":class:`~horizon.tables.Action`"},{"line_number":284,"context_line":":class:`~horizon.tables.LinkAction`"},{"line_number":285,"context_line":":class:`~horizon.tables.FilterAction`"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"There are also additional actions which are extensions of the basic Action classes:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_b89505e6","line":285,"updated":"2015-02-20 17:55:09.000000000","message":"This renders in one line, would probably be nice if renders as list and we have a short description of each","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"f7b6ce3353b93f2c4dd99437a2ce976f3ab2af15","unresolved":false,"context_lines":[{"line_number":282,"context_line":""},{"line_number":283,"context_line":":class:`~horizon.tables.Action`"},{"line_number":284,"context_line":":class:`~horizon.tables.LinkAction`"},{"line_number":285,"context_line":":class:`~horizon.tables.FilterAction`"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"There are also additional actions which are extensions of the basic Action classes:"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_3f580d32","line":285,"in_reply_to":"ba7be1f8_b89505e6","updated":"2015-02-21 00:23:06.000000000","message":"Modified to bullet list. Since clicking on the link shows the description, not adding any text, since it would just be repeating what is shown if they click on the link.","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"938656d80f1c578bf16f685cdfb342f85c717500","unresolved":false,"context_lines":[{"line_number":290,"context_line":":class:`~horizon.tables.BatchAction`"},{"line_number":291,"context_line":":class:`~horizon.tables.DeleteAction`"},{"line_number":292,"context_line":":class:`~horizon.tables.UpdateAction`"},{"line_number":293,"context_line":":class:`~horizon.tables.FixedFilterAction`"},{"line_number":294,"context_line":""},{"line_number":295,"context_line":""},{"line_number":296,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_d89ab913","line":293,"updated":"2015-02-20 17:55:09.000000000","message":"same here","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"},{"author":{"_account_id":14223,"name":"Brian Fischer","email":"brian.fischer@hp.com","username":"bfischer"},"change_message_id":"f7b6ce3353b93f2c4dd99437a2ce976f3ab2af15","unresolved":false,"context_lines":[{"line_number":290,"context_line":":class:`~horizon.tables.BatchAction`"},{"line_number":291,"context_line":":class:`~horizon.tables.DeleteAction`"},{"line_number":292,"context_line":":class:`~horizon.tables.UpdateAction`"},{"line_number":293,"context_line":":class:`~horizon.tables.FixedFilterAction`"},{"line_number":294,"context_line":""},{"line_number":295,"context_line":""},{"line_number":296,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba7be1f8_5f5dc120","line":293,"in_reply_to":"ba7be1f8_d89ab913","updated":"2015-02-21 00:23:06.000000000","message":"Done","commit_id":"88c26a24c1047f9a4c97ec596b09b8756316f351"}]}
