python manage.py fastbill --update-articles
signals
put this in your models.py
from django_fastbill.signals import customer_signal, subscription_signal, payment_signal
from django.dispatch import receiver
@receiver(customer_signal)
def customer_signal_receiver(sender, customer, event_type, raw_data, **kwargs):
print "#" * 50
print "sender", sender
print "event_type", event_type
print "customer", customer
print "data", raw_data
print "#" * 50
@receiver(subscription_signal)
def subscription_signal_receiver(sender, customer, subscription, event_type, raw_data, **kwargs):
print "#" * 50
print "sender", sender
print "event_type", event_type
print "customer", customer
print "subscription", subscription
print "data", raw_data
print "#" * 50
@receiver(payment_signal)
def payment_signal_receiver(sender, customer, subscription, invoice, event_type, raw_data, **kwargs):
print "#" * 50
print "sender", sender
print "event_type", event_type
print "customer", customer
print "subscription", subscription
print "invoice", invoice
print "data", raw_data
print "#" * 50
Metadata
Release files for django-fastbill 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-fastbill-0.2.6.tar.gz | 20.5 kB | Without provenance | Details |
Release files / django-fastbill-0.2.6.tar.gz
| Download URL | django-fastbill-0.2.6.tar.gz |
|---|---|
| Size | 20.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d648c2c3666c6edda6714c1e08faa6e0564fe4ca642574cb1ca0cb7f2482e75
|
|
BLAKE2b-256 checksum How to use checksums |
f73d453b0afc1dec1611d686a986b92a612725afdfead674cb0dfecc08e40b5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-fastbill 0.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.