Use django into a nameko service
Project description
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().
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-nameko-standalone-1.3.2.tar.gz
.
File metadata
- Download URL: django-nameko-standalone-1.3.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5647ebf258d86d879b390cde6ea7d5f5ffdf34240ff3afe2b8d6b491e6b8733 |
|
MD5 | 0765b037e485e26fefde15816110841f |
|
BLAKE2b-256 | 2e4bd02df3c005c42cf4ec68089f7be2b01c793ee4b1ef4569be182eebbad5c5 |