Changes between Initial Version and Version 1 of Ticket #28113


Ignore:
Timestamp:
Apr 21, 2017, 8:36:36 AM (7 years ago)
Author:
kinganu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28113 – Description

    initial v1  
    11Hi, 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. 
    22
    3 Why cant I add my own fields to a contact form?  At the very least a contact page should have forms for :
     3Why 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 :
    44
    55Name, Email, Subject, Message.
     
    77I 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
    88
     9
     10{{{
    911class ContactForm(forms.Form):
    1012        name = forms.CharField(required=True, max_length=30)
     
    3234
    3335    return render(request, "home/contact.html", {'form': form})
     36}}}
Back to Top