forms.py 175 Bytes
Newer Older
1 2 3 4 5 6 7
from django import forms
from base_app.models import User


class UserForm(forms.ModelForm):
    class Meta:
        model = User
8
        fields = ("has_validated_cgu_rgpd",)