# from django import forms
# # from django.contrib.auth.models import User
# # import Users model from authentication module
# # from django.contrib.auth.forms import UserCreationForm
# from authentication.models import Users
# from django.forms import ModelForm


# class ApplyForm(UserCreationForm):
    
#     password = forms.CharField(widget=forms.PasswordInput)

#     class Meta:
#         model = Users
#         fields = (
#             'first_name',
#             'middlename',
#             'last_name',
#             'email',
#             'password',
#             'phone',
#             'address',
#             'gender',
#             'dob',
#             'passport',
#             'category',
#             'classes',
#             'religion',
#             'account_type',
#         )
























# # class ApplyForm(ModelForm):

# #     password = forms.CharField(widget=forms.PasswordInput)

# #     class Meta:
# #         model = Users
# #         fields = (
# #             'first_name',
# #             'middlename',
# #             'last_name',
# #             'email',
# #             'password',
# #             'phone',
# #             'address',
# #             'gender',
# #             'dob',
# #             'passport',
# #             'category',
# #             'classes',
# #             'religion',
# #             'account_type',
# #         )