forms.py 259 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
from django.contrib.auth import get_user_model

from django_registration.forms import RegistrationForm
from djangoldp_account.models import LDPUser


class LDPUserForm(RegistrationForm):
    class Meta(RegistrationForm.Meta):
        model = get_user_model()