Metadata-Version: 2.2
Name: nameko-django-orm
Version: 2.0.4
Summary: Use django into a nameko service
Home-page: https://github.com/Mendes11/django-nameko-standalone
Author: Jesus Gutierrez Almazan
Author-email: jesus.pedro.gutierrez.almazan@gmail.com
Maintainer: Rafael Mendes Pacini Bachiega
Platform: Linux
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 4.0
Classifier: Topic :: Software Development :: Libraries
License-File: LICENSE
Requires-Dist: Django>=3
Requires-Dist: nameko<4,>=2.12.0
Requires-Dist: importlib-metadata<=8.5.0,>=6.0
Requires-Dist: setuptools; python_version >= "3.12"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: maintainer
Dynamic: platform
Dynamic: requires-dist
Dynamic: summary

This package setup the django framework to take advantage of the ORM features and some other django features.

You need to specify the DJANGO_SETTINGS_MODULE environment variable, if not, 'settings' is used by default.

Inject the dependency into the nameko service with the DjangoModels dependency.

Supposing you injected the DjangoModels dependency into the `models` variable, you can use from your procedures like `self.models.MyModel.objects.all()`.
