trivial: join splitted strings
This commit is contained in:
parent
fa99abc37f
commit
fdad44bc89
|
@ -864,7 +864,7 @@ class CancelItemView(DetailView):
|
||||||
|
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
if not request.user.is_authenticated:
|
if not request.user.is_authenticated:
|
||||||
messages.error(request, _('An error occured when removing the item. ' '(no authenticated user)'))
|
messages.error(request, _('An error occured when removing the item. (no authenticated user)'))
|
||||||
return HttpResponseRedirect(get_basket_url())
|
return HttpResponseRedirect(get_basket_url())
|
||||||
if not self.get_object().user_cancellable:
|
if not self.get_object().user_cancellable:
|
||||||
messages.error(request, _('This item cannot be removed.'))
|
messages.error(request, _('This item cannot be removed.'))
|
||||||
|
|
|
@ -2247,7 +2247,7 @@ class JsonCell(JsonCellBase):
|
||||||
_('Variable names'),
|
_('Variable names'),
|
||||||
max_length=200,
|
max_length=200,
|
||||||
blank=True,
|
blank=True,
|
||||||
help_text=_('Comma separated list of query-string variables ' 'to be copied in template context'),
|
help_text=_('Comma separated list of query-string variables to be copied in template context'),
|
||||||
)
|
)
|
||||||
timeout = models.PositiveIntegerField(
|
timeout = models.PositiveIntegerField(
|
||||||
_('Request timeout'), default=0, help_text=_('In seconds. Use 0 for default system timeout')
|
_('Request timeout'), default=0, help_text=_('In seconds. Use 0 for default system timeout')
|
||||||
|
|
Loading…
Reference in New Issue