Re: New to Django & Programming - Trying to work with the tutorial. How to edit mysite/settings.py

2013-03-05 Thread Peter Chibunna
There's exactly no command that you need to achieve what you are asking here. The "settings.py" file is a file -like the name suggests- that contains settings for your django web application. This includes database pointers, database credentials, applications in your site, and all those things

Re: Django 1.4.3 contact_form

2013-03-05 Thread Peter Chibunna
def contact(request): if request.method == 'POST': #checks if the request method was a post, i.e. if the form has been submitted #and initializes the form with the data that was submitted form = ContactForm(request.POST) if form.is_valid(): #if form validation passed, do y