2017-03-15 12:13:46 -05:00
|
|
|
|
|
|
|
*********************
|
2015-04-22 15:39:19 -05:00
|
|
|
:mod:`test_py_module`
|
2017-03-15 12:13:46 -05:00
|
|
|
*********************
|
2015-04-22 15:39:19 -05:00
|
|
|
|
|
|
|
.. automodule:: test_py_module.test
|
|
|
|
:members:
|
|
|
|
:private-members:
|
|
|
|
:special-members:
|
2017-03-15 12:13:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
Optional parameter args
|
|
|
|
=======================
|
|
|
|
|
|
|
|
At this point optional parameters `cannot be generated from code`_.
|
|
|
|
However, some projects will manually do it, like so:
|
|
|
|
|
|
|
|
This example comes from `django-payments module docs`_.
|
|
|
|
|
|
|
|
.. class:: payments.dotpay.DotpayProvider(seller_id, pin[, channel=0[, lock=False], lang='pl'])
|
|
|
|
|
|
|
|
This backend implements payments using a popular Polish gateway, `Dotpay.pl <http://www.dotpay.pl>`_.
|
|
|
|
|
|
|
|
Due to API limitations there is no support for transferring purchased items.
|
|
|
|
|
|
|
|
|
|
|
|
:param seller_id: Seller ID assigned by Dotpay
|
|
|
|
:param pin: PIN assigned by Dotpay
|
|
|
|
:param channel: Default payment channel (consult reference guide)
|
|
|
|
:param lang: UI language
|
|
|
|
:param lock: Whether to disable channels other than the default selected above
|
|
|
|
|
|
|
|
.. _cannot be generated from code: https://groups.google.com/forum/#!topic/sphinx-users/_qfsVT5Vxpw
|
|
|
|
.. _django-payments module docs: http://django-payments.readthedocs.org/en/latest/modules.html#payments.authorizenet.AuthorizeNetProvide
|
|
|
|
|
|
|
|
|
|
|
|
Data
|
|
|
|
====
|
|
|
|
|
|
|
|
.. data:: Data_item_1
|
|
|
|
Data_item_2
|
|
|
|
Data_item_3
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce congue elit eu hendrerit mattis.
|
|
|
|
|
|
|
|
Some data link :data:`Data_item_1`.
|