|
| 1 | +# Async stuff for django |
| 2 | + |
| 3 | +I did not do this because it was easy, |
| 4 | +I did it because I thought it would be easy. |
| 5 | + |
| 6 | + |
| 7 | +## What is this? |
| 8 | + |
| 9 | +django-async-extensions is a package that contains various async tools to be used in a django project, |
| 10 | + |
| 11 | + |
| 12 | +this might be something django doesn't have yet, |
| 13 | +something django can't add (due to maintenance problems or backwards compatibility), |
| 14 | +or something else. |
| 15 | + |
| 16 | + |
| 17 | +## What does it do? |
| 18 | + |
| 19 | +these tools are provided for now: |
| 20 | + |
| 21 | +1. async class based views (AsyncView). |
| 22 | +2. async generic class based views. |
| 23 | +3. async paginator |
| 24 | +4. async auth mixins |
| 25 | + |
| 26 | +more to come... |
| 27 | + |
| 28 | +## Where are the docs? |
| 29 | + |
| 30 | +you can find our [documentations here]() |
| 31 | + |
| 32 | +## How to install this? |
| 33 | + |
| 34 | +```shell |
| 35 | +pip install django-async-extensions |
| 36 | +``` |
| 37 | + |
| 38 | +no need to add this to `INSTALLED_APPS`. |
| 39 | + |
| 40 | +## Can I use this? |
| 41 | +the package should work with the stable versions of django and python. |
| 42 | +there shouldn't be any problems using it with other versions, but it is not tested. |
| 43 | + |
| 44 | +## is this for everyone? |
| 45 | +this package is developed by the community for the community and is available for everyone under MIT licence. |
| 46 | + |
| 47 | +## Q&A |
| 48 | + |
| 49 | +1. does this package solve all the async problems django has? |
| 50 | + |
| 51 | +no, we provide some tools to help with some stuff, |
| 52 | +but some stuff need to be solved in django itself. |
| 53 | + |
| 54 | +2. does this make async programming easier? |
| 55 | + |
| 56 | +no, it makes async programming with django easier, |
| 57 | +you still need to know how to do async programming. |
| 58 | + |
| 59 | +3. is this production ready? |
| 60 | + |
| 61 | +the codebase is well tested, but the package is new and not used in production, so I can't make any guarantees yet. |
| 62 | + |
| 63 | +4. what async framework can be used for this? |
| 64 | + |
| 65 | +django only works with `asyncio`, so this also only works with `asyncio`. |
0 commit comments