mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-04-15 12:41:01 +00:00
This change deserves a more thorough explanation. All currently released versions of Django are based around the concept of receiving a request and immediately dispatching a response. WebSocket connections don't follow this convention, and the `request` hangs around for long periods of time. As such, things like `request.user` don't really make sense as a user may login, then logout, then login again all within the life of a single request. Given that the concepts applied in Django are based upon a premise that doesn't hold true for WebSockets (that a request is short-lived), it doesn't make sense to apply those concepts in django-ddp. |
||
|---|---|---|
| .. | ||
| accounts | ||
| migrations | ||
| server | ||
| test | ||
| __init__.py | ||
| admin.py | ||
| alea.py | ||
| api.py | ||
| apps.py | ||
| main.py | ||
| models.py | ||
| msg.py | ||
| postgres.py | ||
| websocket.py | ||