regluit/payment/urls.py

24 lines
779 B
Python
Raw Normal View History

2011-09-27 12:48:11 +00:00
from django.conf.urls.defaults import *
from django.conf import settings
2011-09-27 12:48:11 +00:00
urlpatterns = patterns(
"regluit.payment.views",
url(r"^paypalipn", "paypalIPN", name="PayPalIPN"),
)
if not settings.IS_PREVIEW:
urlpatterns += patterns(
"regluit.payment.views",
url(r"^testpledge", "testPledge"),
url(r"^testauthorize", "testAuthorize"),
url(r"^testexecute", "testExecute"),
url(r"^testcancel", "testCancel"),
url(r"^querycampaign", "queryCampaign"),
url(r"^runtests", "runTests"),
url(r"^paymentcomplete","paymentcomplete"),
url(r"^checkstatus", "checkStatus"),
url(r"^testfinish", "testFinish"),
url(r"^testrefund", "testRefund"),
url(r"^testmodify", "testModify"),
2011-09-27 12:48:11 +00:00
)