This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Error Email | |
Task app.management.tasks.api_calls.ApiCall with id b670e373-1274-472e-8771-ba2d5d0aa1d0 raised exception: | |
'SoftTimeLimitExceeded()' | |
Task was called with args: [] kwargs: {'mode': '<mode>', 'api_context': <app.management.tasks.api_calls.ApiContext object at 0x2bba190>}. | |
The contents of the full traceback was: | |
Traceback (most recent call last): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Task | |
class ApiCall(BaseTask): | |
def run(self, mode, **kwargs): | |
try: | |
modeDict = {'<mode>': "<url>"} | |
try: | |
url = modeDict[mode] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load url from future %} | |
{% load bootstrap_tags %} | |
<div class="subscribe-form"> | |
<h2>Purchase a Subscription</h2> | |
<p class="lead">Provide your payment details to start your subscription today.</p> | |
{% if error %} | |
<div class="alert alert-error">{{ error }}</div> | |
{% endif %} | |
<form action="{% url 'payments:payments_ajax_subscribe' %}" class="form ajax" data-stripe-key="{{ STRIPE_PUBLIC_KEY }}" data-replace-closest=".subscribe-form" method="POST"> |
NewerOlder