Oleksandr Sorokin

Results 10 comments of Oleksandr Sorokin
trafficstars

I made inspection, and found cities which are present as separate instances in City model and have same postal_code. ``` [, ] # postal_code = 25980 [, ] # postal_code...

m2m is not a silver bullet. I would say, best fit looks like this ``` City Code ``` ``` python class City(models.Model): postal_codes = models.ManyToMany(Code, through=PostalCode) ``` One more question/option....

`Code` will have only `code`(currently in `PostalCode.code`). That's why I don't see reason to add m2m. Right now `PostalCode` can have duplicated value in `code` field, but in same time...

I'll start with polygon import.

I have g85. I create a hot-spot on camera and connect my pc to that wifi. I open. requests.html and it ask me to enter IP address. I figured out...

Do you have API/protocol documentation somewhere? I would appreciate if you can share it.

It is working if I connect camera to my home Wifi...

GET: http://192.168.54.1/cam.cgi?mode=getstate ``` err_unsuitable_app ```

Thanks for quick fix and sorry for late response. Was a bit busy. I will test it today.