input: Write a python function to create a Django model, form, and view for a custom user model with first_name and last_name fields.
  assert hasattr(MyUser, 'first_name')
  assert hasattr(MyUser, 'last_name')
  assert 'username' in MyUserForm.Meta.fields
  assert 'password' in MyUserForm.Meta.fields
  assert 'first_name' in MyUserForm.Meta.fields
  assert 'last_name' in MyUserForm.Meta.fields
output: from django.db import models
  from django.contrib.auth.models import AbstractUser
  from django import forms
  from django.views import View
  from django.shortcuts import render, redirect
  from django.urls import path
  
  class MyUser(AbstractUser):
      first_name = models.CharField(max_length=30)
      last_name = models.CharField(max_length=30)
  
  class MyUserForm(forms.ModelForm):
      class Meta:
          model = MyUser
          fields = ['username', 'password', 'first_name', 'last_name']
          widgets = {
              'password': forms.PasswordInput(),
          }
  
  class MyUserView(View):
      def get(self, request):
          form = MyUserForm()
          return render(request, 'myuser_form.html', {'form': form})
  
      def post(self, request):
          form = MyUserForm(request.POST)
          if form.is_valid():
              form.save()
              return redirect('success_url')
          return render(request, 'myuser_form.html', {'form': form})
  
  urlpatterns = [
      path('register/', MyUserView.as_view(), name='register'),
  ]