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.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-nameko-standalone-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a8d02b209b139535ac3c10a421f22a5e3d7377b63f18889335f0324646f4dc0f
MD5 cfa673c1bb569eebf14d5b5a7d223e89
BLAKE2b-256 676388e8243da007971308074f8185fefebc8df5b2fb3dcfba93d92e32f0dc7a

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