Changes between Initial Version and Version 1 of Ticket #28113
- Timestamp:
- Apr 21, 2017, 8:36:36 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28113 – Description
initial v1 1 1 Hi, trying to create a basic contact page with django has been horrendous. what took me 30 minutes to do in flask takes me 3 hours to do in django and still doesnt work. 2 2 3 Why cant I add my own fields to a contact form? At the very least a contact page should have forms for :3 Why cant I add my own fields to a contact form? Why would a contact form ever NOT have a name field? At the very least a contact page should have forms for : 4 4 5 5 Name, Email, Subject, Message. … … 7 7 I cannot send an email with a name variable, which blows my mind. WTForms beats django forms any day, because its actually flexible. Now I have to waste more time figuring out how to file a suggestion for django and fill this out. WOW...........pardon my frustration 8 8 9 10 {{{ 9 11 class ContactForm(forms.Form): 10 12 name = forms.CharField(required=True, max_length=30) … … 32 34 33 35 return render(request, "home/contact.html", {'form': form}) 36 }}}