Giuseppe Chirico
Giuseppe Chirico
@kyle-github However, I don't quite understand why I should put path=18,IP. I've always worked with path=1,0 with Micrologix, Allen Bradley, I remember reading somewhere that 1,0 was generic for everyone....
I found a library written in python (https://github.com/aphyt/aphytcomm) that might help with Omron. It also has tag discover, as well as read/write (works on strings)
in Admin response_add: ``` def response_add(self, request, obj): a4 = request.POST.get('_button_name') if '_button_name' in request.POST: self.test(request, obj) return super().response_add(request, obj) ```
 There is nothing here either, even if I try to use django's default buttons, _save, _saveasnew, _continue, they are not taken in this POST
  Already seen, the first image refers to an admin created with your library, it does not send me information about the button, the second refers to an admin...
I just override submit_line.html like this: ``` {% load i18n admin_urls %} {% block submit-row %} {% if testbla %}{% endif %} {% if testblabla %}{% endif %} {% if...
I updated the first comment, the first image is from the admin with etc, the second is not
Were you able to replicate the problem?
I found a library written in python (https://github.com/aphyt/aphytcomm) that might help with Omron. It also has tag discover, as well as read/write (works on strings)
`id = models.ObjectIdField(db_column='_id')` i set id like this