# Django with node red how connect them \[suggestion\]

**URL:** <https://discourse.nodered.org/t/django-with-node-red-how-connect-them-suggestion/90055>\
**Category:** Share Your Projects\
**Created:** [8 August 2024 13:26 UTC](https://discourse.nodered.org/t/django-with-node-red-how-connect-them-suggestion/90055 "2024-08-08T13:26:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tahasamy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tahasamy/32/51150_2.png) [@tahasamy](https://discourse.nodered.org/u/tahasamy)\
**Post date:** [8 August 2024 13:26 UTC](https://discourse.nodered.org/t/django-with-node-red-how-connect-them-suggestion/90055/1 "2024-08-08T13:26:39Z")

</div>

I am currently working on a project to directly integrate Node-RED with Django. The integration is almost complete, with objects like push buttons and toggles successfully connected to Django. There’s just a bit of frontend work left to display series on the screen. This solution will save a lot of effort, as I've set it up so that by simply entering the WebSocket URL for Node-RED, along with its name, ID, and some additional data, Django will automatically create and link all WebSockets with Node-RED. This process is similar to running a command like makemigrations. You only need to focus on the frontend. The main advantages include:

- **Action Logging** : Ability to record and track any changes and actions performed by users.
- **Access Control** : Restricts access to Node-RED through Django, enhancing security. Only authorized users can access or control specific functionalities.
- **Permissions Management** : Django provides fine-grained permissions to determine who can execute or view certain features.
- In The end The idea is clear and concise, Django will be used for website and site management, while Node-RED will handle end device management and control.If anyone would like to offer advice or participate, I am eager to see advice

If anyone has advice or wants to contribute, I am excited to hear advice and suggestions.

![New Microsoft PowerPoint Presentation (4)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/0/60e68a0c334822827028d4fd958d165bbabbc048.gif)

 ![ZPJBRjim44Nt-eg15uMoCBhN8aXZ6MYBf73j15aQ33LnsCeSbQISvEypf5wauW1TYKESULrUwCewOLnxh3CX7HbOrGgrong-L58rGZie_mXzeEztTniG5XPT2Bc_k5YS8H_mSKVoBxeO7o_JZ5zKuNPT1jAVbpx8lxMEZi8fqh3M1wLnrcSbv3CcDsjTbNXI](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/2/120520971208de7b31e3a6f573cc8fec66b71c4f.png)  
source code [github link](https://github.com/taha2samy/node_red_-_django)

**The project is still incomplete**
