class FormBuilder(AdminOnlyView, generics.ListCreateAPIView):
model = RegForm
serializer_class = RegFormSerializer
filter_backends = [filters.OrderingFilter, filters.SearchFilter, DjangoFilterBackend]
filterset_fields = ['user',]
ordering_fields = ['created_on', ]
search_fields = ['user__first_name', 'form_name', "form_type"]
ordering = ["-created_on", ]