model.py
1 | from django.db import models |
form.py
1 | from .models import User |
views.py
1 | from django.shortcuts import render, redirect, render_to_response |
url.py
1 | url(r'^edit_profile/', views.edit_profile, name='change'), |
template
1 | <form method="post"> |