Metadata-Version: 2.1
Name: django-relations
Version: 0.2.2
Summary: Package automatically detects relation fields and seamlessly integrates them into select_related and prefetch_related methods
Home-page: https://pypi.org/project/django-relations/
Author: Khasan
Author-email: info.kamalov@gmail.com
License: BSD-3-Clause
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# django-relations

# Installation
    # with pip

    pip install django-relations
#
    # with pipenv

    pipenv install django-relations

# Using

    from django_relations import AbstractDefaultClass

    class MyModel(AbstractDefaultClass):
        field1 = models.OneToOneField(Model1, ...)
        field2 = models.ForeignKey(Model2, ...)
        field3 = models.ManyToManyField(Model3, ...)
    

# Description
Boost your Django app's speed with the all-new django-relations package. Say goodbye to manual query optimization – this package automatically detects relation fields and seamlessly integrates them into select_related and prefetch_related methods. 🚀 Supercharge response times, enhance UX, and free up your creative genius. Embrace efficiency and let django-relations handle the heavy lifting. Your queries, elevated.
