django-tornado icon indicating copy to clipboard operation
django-tornado copied to clipboard

admin site does not work

Open VinayKumarNC2019 opened this issue 4 years ago • 1 comments

Hi

Can you please check why admin site does not work from Tornado?

SynchronousOnlyOperation at /admin/ You cannot call this from an async context - use a thread or sync_to_async.

VinayKumarNC2019 avatar Jan 13 '21 20:01 VinayKumarNC2019

I guess you have to follow the advise and create a special route for that. This repository is fairly old (more than 6 years) and all those dependencies have evolved with time. Unfortunately I have currently no time to look into this but maybe you or someone else can figure it out. You might also have a look at the forks, maybe there is a fix already: https://github.com/tamasgal/django-tornado/network/members

tamasgal avatar Jan 13 '21 20:01 tamasgal