create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # simple form usage in view | |
| def my_view(request, template_name='home.html'): | |
| # sticks in a POST or renders an empty form | |
| form = MyForm(request.POST or None) | |
| if form.is_valid(): | |
| do_something() | |
| return redirect('/') | |
| return render_to_response(template_name, {'form':form}) | |
| # form with files |