0
Django is written in Python and you can interact like with any Python library by importing code and calling methods directly. You only need to pass Django settings file as input.
What would make sense is to write a Windows/Linux/OSX Python application which opens TCP/IP socket and then listens raw NFC reader protocol events (not sure what protocol NFC reader is using to interact over TCP/IP). Your Python application would directly do data manipulation (Django models, ORM part) on any NFC reader protocol event.
There might be even Python libraries which aid listening to NFC protocol. You can check PyPi and Google for those when you know the protocol name.
1
After chatting with @Mikko Ohtamaa I realized that for me the best “native” solution is to use http (http:/device/insert?date=2323423?tag=23423) and let url.py deal with it, for those who don’t have access to http client @Mikko Ohtamaa’s solution is the best choice.
- [Answer]-What is the appropriate way to set up a form and view in Django to accommodate both creating and updating a model
- [Answer]-Heroku postgis makemigrations error geodjango
- [Answer]-Matching manytomany fields in django
- [Answer]-Django: overriding save() method in model