.. toctree::
:maxdepth: 2
D2A
===============
.. raw:: html
Star
d2a provides some utilities for SQLAlchemy with Django.
If you want to use SQLAlchemy instead of Django's QuerySet, this must suit you.
Requirements
---------------
- Python: 3.5 or later.
- Tested with 3.6, 3.9
- Django: 2.x, 3.x
- Tested with 2.2.9, 3.0.1, 3.1.1
- SQLAlchemy: 1.1 or later.
- Tested with 1.1.0, 1.4.1
Installation
-------------------------
.. code-block:: shell
$ pip install d2a -U
Add d2a to settings.INSTALLED_APPS.
.. code-block::
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# :
# :
'd2a',
]
.. note::
- `Project configuration `__
Features
-------------------------
- `Code generation `__ (Main feature)
- `Query shortcut `__
- `Auto loading `__ (Deprecated since 3.0.x)
.. note:: Other links
- `GitHub `__
- `PyPI `__
- `History `__