python manage.py migration
python manage.py migrate
class ProfileCreateView(CreateView):
model = Profile
context_object_name = "target_profile"
form_class = ProfileCreationForm
success_url = reverse_lazy('accountapp:hello_world')
template_name = 'profileapp/create.html'
image 파일 첨부했는데에도 불구하고 이미지 파일을 넣지않았다고 하는 문제 발생
enctype="multipart/form-data"
-> 이 코드를 명시해 줘야 이미지가 제대로 전달됨.