User Submitted Content With Approval and Report via Mail in Django?

Https://docs.djangoproject. Com/en/1.3/topics/email Basically you send an e-mail in your view if the form is valid (content and title aren't empty) after saving the instance of the model.

Https://docs.djangoproject. Com/en/1.3/topics/email/ Basically you send an e-mail in your view if the form is valid (content and title aren't empty) after saving the instance of the model.

This question is a bit broad but here is the general idea and some topics to check: a) Create a form for data entry: You posted a model and a model is not a form, as you seem to indicate. You can build forms on top of models and that should be your first step: https://docs.djangoproject. Com/en/dev/topics/forms/modelforms b) Process your form data and send the e-mail: If you got that working, a form that takes the data and saves it to the database, you can put the email-sending in the mix.

Here is an example from Django's docs: https://docs.djangoproject. Com/en/dev/topics/forms/? From=olddocs#processing-the-data-from-a-form.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions