adi

Results 37 comments of adi

Same as described here: https://stackoverflow.com/questions/53265833/django-modeltranslation-slug-problem-when-i-change-language-dont-go-right-url

I think the widget is ok. The problem is with query. For each e-mail address admin is making one additional query. So, to list 10k email, there are 10k queries....

Yes, I can create one. But, I think the better option is not to select each mail one by one. The idea about newsletters and its subscriptions is, that ppl...

@dokterbob in that case another newsletter should be created.

@dokterbob Everything is fine. When you want to test a newsletter, there should be an option to paste e-mail addresses manually for testing. You don't have to list all subscribed...

Meanwhile, I'll try to use `TASK_SOFT_TIME_LIMIT`.

> Meanwhile, I'll try to use `TASK_SOFT_TIME_LIMIT`. Ok, nice. Above is working like a charm. Btw, my error with celery was `Cannot reach CELERY_EMAIL_BACKEND django`. I guess it would be...

I am implementing as exampled here: https://django-formtools.readthedocs.io/en/latest/wizard.html#formtools.wizard.views.WizardView.condition_dict When `wizard.get_cleaned_data_for_step('0')` is present (not #) in `views.py`, `get_form_initial` is initiated multiple times. When you rem this line, everything works as expected.

I have also added hooks (simple `print` statement) for `get_form_kwargs`, `get_form_initial` and condition function. I don't see any reason, why those functions are fired multiple times... But only when `wizard.get_cleaned_data_for_step`...