Open HanilJain opened 2 days ago
Your pull request is modifying functions with the following pre-existing issues:
📄 File: website/views.py
Function | Unhandled Issue |
---|---|
newhome |
AttributeError: 'AnonymousUser' object has no attribute 'email' ... Event Count: 3 |
Did you find this useful? React with a 👍 or 👎
Can you please move the code into the existing Django app?
@DonnieBLT Done
Asynchronous Notification
Issue Addressed
https://github.com/OWASP-BLT/BLT/issues/2213 https://github.com/OWASP-BLT/BLT/issues/2214 https://github.com/OWASP-BLT/BLT/issues/2215 https://github.com/OWASP-BLT/BLT/issues/2216 https://github.com/OWASP-BLT/BLT/issues/2217 https://github.com/OWASP-BLT/BLT/issues/2218 https://github.com/OWASP-BLT/BLT/issues/2221
How it works
Notification is created in model of notification_app new_home frontend fetch api Notification. websockets in header.html file handles the notification coming memorychannellayer handles the cache and channel serving the notification to webscoket at port 6379 when user click on notification it gets deleted from database.