These are chat archives for mirumee/saleor

15th
Mar 2019
bubublik
@bubublik
Mar 15 07:18
@camiloruizi export SECRET_KEY="your_secret_key_value"
bubublik
@bubublik
Mar 15 07:34
@ashishnitinpatil thx. Re install mjml and all working property
Ashish Patil
@ashishnitinpatil
Mar 15 08:16
@camiloruizi like bubublik said, but if you're using docker, you should put that SECRET_KEY=my_secret in the common.env instead.
jstrnbrg
@jstrnbrg
Mar 15 13:50
Hi, is there a setting I can't find to automatically send the order invoice via email to the customer (and to accountant)?
Ashish Patil
@ashishnitinpatil
Mar 15 13:54
@jstrnbrg I don't think so there is such a thing. You'll have to implement a listener for some event (order placed, etc.) & then trigger this email
jstrnbrg
@jstrnbrg
Mar 15 13:56
ok thanks
jstrnbrg
@jstrnbrg
Mar 15 14:39
are there any similar (already implemented in saleor) listeners, which I can have a look at and try to understand? (sorry, very new to all this) I found https://docs.getsaleor.com/en/latest/architecture/events.html but I don't get how to listen for these events yet
Ashish Patil
@ashishnitinpatil
Mar 15 14:54
@jstrnbrg I haven't touched on those in saleor yet, but I believe this is what you need (listeners to "django signals") https://docs.djangoproject.com/en/2.1/topics/signals/#listening-to-signals
camiloruizi
@camiloruizi
Mar 15 19:27

i still have the error: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

i already put the secret key in settings.py

:(
camiloruizi
@camiloruizi
Mar 15 20:23
image.png
Ashish Patil
@ashishnitinpatil
Mar 15 20:29
Are you sure the server reloaded with the latest settings.py? How did you build / what was the command you used to get the server up?
camiloruizi
@camiloruizi
Mar 15 21:28
i put this "python manage.py migrate"
camiloruizi
@camiloruizi
Mar 15 21:36
image.png