Skip to main content
management commands

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

Release files for django-fastbill 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-fastbill 0.1.7
File Size Uploaded
django-fastbill-0.1.7.tar.gz 15.4 kB Details

Release files / django-fastbill-0.1.7.tar.gz

Download URL django-fastbill-0.1.7.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
61151a0c28bf73fb42dd48d6ffc8b9809843f73a85823b7dd817109cdf06ba40
BLAKE2b-256 checksum
How to use checksums
6210a725054e2e78f79c3a0d013eb4bc7c2004b15fa4007ecf88444190b5290a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1.9

1 release file

0.1.8

1 release file

This release

0.1.7 This release

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page