Open andpozo opened 8 years ago
Sure, it makes sense, just 2 days ago I did exactly same for v2 branch https://github.com/darklow/django-suit/commit/ddb449aa2edc25e6f9cebe76e870fff2f7e1738f as I am using django channels too, just with upcoming v2
: https://github.com/darklow/django-suit/issues/475.
Will fix shortly.
It is possible for bs3 branch?
@SashaBorandi The fix exactly the same as for v2: https://github.com/darklow/django-suit/commit/ddb449aa2edc25e6f9cebe76e870fff2f7e1738f Feel free to make a PR for bs3 branch.
When use django channels, the request is an instance of AsgiRequest, so the condition in /darklow/django-suit/blob/develop/suit/templatetags/suit_menu.py#L26/ produces an empty left menu, could be replaced with:
or:
that makes sense?