mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 17:42:08 +00:00
12 lines
209 B
Python
12 lines
209 B
Python
from django.contrib.auth import get_user_model
|
|
from django import forms
|
|
|
|
|
|
User = get_user_model()
|
|
|
|
|
|
class UserProfilePhotoForm(forms.ModelForm):
|
|
class Meta:
|
|
model = User
|
|
fields = ["image"]
|