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


class UserForm(forms.ModelForm):
    class Meta:
        model = User
        fields = ("has_validated_rgpd", "has_validated_cgu")