tethysplatform / tethys

The Tethys Platform main Django website project repository.
http://tethysplatform.org/
BSD 2-Clause "Simplified" License
92 stars 49 forks source link

[FEATURE] Make all decorators support async #1077

Open sdc50 opened 1 month ago

sdc50 commented 1 month ago

It looks like Django is trying to make their decorators handle both sync and async functions (see https://github.com/django/django/pull/17621).

We should also try to do this with all of our decorators to give users the flexibility to write controllers, handlers, etc. as async coroutines.