We are using django-tenants to provide a multi tenant solution for an iot platform and I'm having an issue figuring out how to map some global data to tenant specific tables. Basically we have iot devices that talk to a node.js server using a proprietary protocol over tcp, that server then makes rest api requests to a Django webserver to update the database with device measurements. The node server does not know anything about which device belongs to which customer so it needs to have a rest api that is global and then the webserver backend will need to map that device to a specific tenant but we cannot let tenants view each other's data so I'm not sure how we accomplish this as it seems apis are either tenant specific or global (public).
django-tenants global device table mapping to tenants
99 Views Asked by mihnen At
1
There are 1 best solutions below
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in DJANGO-REST-FRAMEWORK
- CORS in ionic app and django
- DjangoRestFramework Class Serializers missing "Meta" attribute?
- django rest framework - token authentication logout
- Django Rest Framework + React + Reflux: Can't GET new objects
- Is it possible to restrict url access from application only in Django REST
- Using QHttpMultiPart with QHttpPart Binary and Form Data
- django rest framework search filter all fields
- How to install python django rest framework on fedora 21 with yum?
- Django REST : Making a custom serializer return proper error message
- Why `create()` method of django rest framework serializer return a value?
- Automatically add all model fields to django rest serializer
- django rest framework - adding to views.obtain_auth_token
- How to deserialize nested objects with Django Rest Framework
- Django REST Framework - Update object with FK to a model with unique field
- Django user login through api
Related Questions in DJANGO-TENANTS
- simplejwt token work for all tenants for django-tenants
- Getting this error while using Django Tenant with DRF Exception: Can't create tenant outside the public schema. Current schema is ... while using DRF
- Using DRF and django-tenants together in the same project
- How to programatically run custom command for specific schema using django-tenants?
- How to elegantly (wildcard) redirect from non-www and www to a specific subdomain, eg. `main` or `app`
- Django Multi-tenant postgresql and mongoDB
- How to make django-tenants work with django-q
- django-tenat and rest_framework_simplejwt integration, error in blacklisting a token
- Why is Django migrate command not creating tables in database for specific app?
- Django + Django Tenants + DRF API = http: error: gaierror: [Errno 11001] getaddrinfo failed
- Django tenant based users
- Django/Python: post_save signal - expected string or bytes-like object
- django-tenants global device table mapping to tenants
- Best solution to integrate independent applications into a Django (& React) platform?
- django-tenants postgis with multischema
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think you can structure the Django app in this way:
Use django-rest-framework for endpoint and protect it with authentication!