Dont know how thats usually done, i can tell you how we do it. We have an "out of repository" file where that important data is stored, like mail passwords, database name, user and pass, django SECRET_KEY, etc... And in settings.py you simply import it
2014-08-19 9:12 GMT+01:00 Chen Xu <[email protected]>: > Hi Everyone, > I just setup google apps to use gmail with my own domain "example.com", > and I want to use django send_mail to send emails from [email protected], > which might be for registration message, something like that. However, when > I create the group in google apps, [email protected] will not have a > password, but send_mail function requires an authentication. I wonder how > this is usually done. > > > Thanks > > > > -- > ⚡ Chen Xu ⚡ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACac-qbQL2PMNV-pRZ4Sq5N3MnrvZg4s%3DFcxYRX9L9fo7sykKQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACac-qbQL2PMNV-pRZ4Sq5N3MnrvZg4s%3DFcxYRX9L9fo7sykKQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *monoBOT* Visite mi sitio(Visit my site): monobotsoft.es/blog/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BxOsGAeviFg9TcB6ERT5x69kaN4Lfs0R7tWa9bQCk6e2gXiWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

