Skip to main content

`molly`.

Project description

# Molly

`molly` is simple application that injects a signal after the WSGIHandler
is instatiated. What this means for you is that you can definitively know when
your application is live and can receive requests.


## Installation:

`pip install django-molly`


## Usage:


```python
# settings.py file

INSTALLED_APPS = (
...,
'molly',
...
)

```

```python
# in some apps.py file
...
from molly.signals import application_started


def hello_world():
print "hello world!!!"

class MyAppConfig(AppConfig):
def ready(self):
application_started.connect(
hello_world, dispatch_uid='my-silly-message'
)
```

So now when you run `python manage.py runserver` or *any* service that utilizes
the `django.core.handlers.wsgi.WSGIHandler` you should see you message.

Enjoy the *ecstacy* of it 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-molly-0.0.2.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file django-molly-0.0.2.tar.gz.

File metadata

File hashes

Hashes for django-molly-0.0.2.tar.gz
Algorithm Hash digest
SHA256 232ed0ca9acd06bd7dab4a699ac7a4ccef465a1441dde172e8d3c36c62582301
MD5 852173502a57a9043fc082564545a063
BLAKE2b-256 111efe3b60d2436a8d9b9d7d3e0d473a698196fd068b1b3629e50e7a1b46dafe

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