I always liked the idea of breaking up the settings so it's easy to find out how to change the payment drivers, switching to Braintree from stripe should be a simple driver setting.
Also we can do things like:
pip install django-proton-cashier
proton publish django-proton-cashier
or
proton install django-proton-cashier --publish
which will just run a shell command of pip install and the proton publish command. remember. save time! :)
publish commands will either add a setting like proton/cashier.py or will append settings with a docblock seperator like
This way we can go in and just clean up the settings or something and also people can make packages in the future which will just plug in to this extender framework
IDEA:
could have a file structure like:
I always liked the idea of breaking up the settings so it's easy to find out how to change the payment drivers, switching to Braintree from stripe should be a simple
driver
setting.Also we can do things like:
pip install django-proton-cashier
proton publish django-proton-cashier
or
proton install django-proton-cashier --publish
which will just run a shell command of
pip install
and theproton publish
command. remember. save time! :)publish commands will either add a setting like
proton/cashier.py
or will append settings with a docblock seperator likeThis way we can go in and just clean up the settings or something and also people can make packages in the future which will just plug in to this extender framework