Django user input steps needed

天涯浪子 提交于 2019-12-10 19:57:27

问题


I'm a noob I know. So I want to build a web app that allows the user to enter text. Then have the web server send an email based on the text with a message from another file.

What would be the optimal way to accomplish this? I am new to Django but have experience with Python. If someone could give me a basic bullet point way on how to do this I can google the rest. I just don't know where to start.


回答1:


There is plenty of good guides online. The django documentation will take you step by step through making your first django app.

https://docs.djangoproject.com/en/1.9/intro/tutorial01/

Django has a sendmail library that you can use once you get your app started

https://docs.djangoproject.com/en/1.9/topics/email/




回答2:


This guide is help you to go step by step

Tango with Django : http://www.tangowithdjango.com/book17/

Or

http://tutorial.djangogirls.org/en/index.html

as well you have to follow official documentation.because Tango with Django may cause version issues but Django girls tutorial seems updated.

Official : https://docs.djangoproject.com/en/1.9/intro/tutorial01/



来源:https://stackoverflow.com/questions/35472057/django-user-input-steps-needed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!