Giuseppe Chirico

Results 64 comments of 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) ```

![image](https://github.com/idlesign/django-etc/assets/73225008/e78572a4-c407-4f7c-b545-a79e21b511fd) 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

![image](https://github.com/idlesign/django-etc/assets/73225008/870fa569-fc20-4e18-9cd1-790f7b5ab649) ![image](https://github.com/idlesign/django-etc/assets/73225008/b85fca44-85fd-4c82-a53c-ae08a44a8068) 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