Skip to main content

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

django-nameko-standalone-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file django-nameko-standalone-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django-nameko-standalone-1.0.0.tar.gz
Algorithm Hash digest
SHA256 07d8d0da22add19d8336b076a9450aafa8aafc7bc3d0cae531dd3cc6077cc0e3
MD5 4c6ecd2f8e951cf8665f72f4adfeff1c
BLAKE2b-256 757ab793f9a329e96572595225dcf1f721d725c011329a113a27048323be7719

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page