wrote:
> On 3 mar, 13:39, Kenneth Gonsalves <law...@thenilgiris.com> wrote:
>
> > On Thu, 2011-03-03 at 00:36 -0800, pols wrote:
> > > Anyone knows how to override djangos default registration email.I
> > > need to alter it to sent as html email instead of text email.As i am a
> > > bigner of django help me with complete information
>
> > copy the templates to a folder called registration in your project and
> > modify it how you like
>
> If the OP is talking about django-registration, overriding the
> templates will not be enough, as
> RegistrationProfile.send_activation_email sends plain text mails.
Exactly, one need to hack django-registration email sending code
(which is not difficult by the way:
http://docs.djangoproject.com/en/1.2/topics/email/#sending-alternative-content-types).
--
Tomasz Zielinski
pyconsultant.eu
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment