title: redirect user profile after creating user by admin
body: <p>I'm developing web app in only admin can create new user. In my app there are two models one is for creating user and another is for creating user profile as below.</p>
  
  <pre><code>class User(AbstractBaseUser):
      User_Type = [
          ('admin', 'Admin'),
          ..............
      ]
      id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
      email = models.EmailField(_('email address'), unique=True)
      username = models.CharField(_("Username"), max_length=50, unique=True)
      user_type = models.CharField(_("User Type"), choices=User_Type, default='none',)
      ..............
  </code></pre>
  
  <p>and another model is for storing user information.</p>
  
  <pre><code>class UserProfile(models.Model):
      id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
      user = models.OneToOneField(User, verbose_name=_("User"), on_delete=models.CASCADE)
      first_name = models.CharField(_("First name"), max_length=50)
      last_name = models.CharField(_("Last name"), max_length=50)
      dob = models.DateField(_("D.O.B"), auto_now=False, auto_now_add=False, blank=False, null=False)
      profile_image = models.ImageField(_("Profile picture"), upload_to='user/profile/', blank=True)
     ............
  </code></pre>
  
  <p>what i want here is if any use is created by admin it automatically redirect to the profile page to add profile also.</p>
  
  <p>forms.py code is here.</p>
  
  <pre><code>class CustomUserCreationForm(UserCreationForm):
  
      class Meta(UserCreationForm):
          model = User
          fields = ('email', 'username', 'user_type')
  </code></pre>
  
  <p>and </p>
  
  <pre><code>class UserProfileForm(forms.ModelForm):
  
      class Meta:
          model = UserProfile
          fields = '__all__'
  </code></pre>
  
  <p>and views.py is here</p>
  
  <pre><code>class AddUserView(CreateView):
      model = User
      form_class = CustomUserCreationForm
      template_name = "users/add-user.html"
  
      def form_valid(self, form):
          form.save()
          return redirect('users:profile-add')
  </code></pre>
  
  <p>I tried some posted solution on stackoverflow but none is working.
  <a href="https://stackoverflow.com/questions/9046533/creating-user-profile-pages-in-django">Creating user profile pages in Django</a>
  <a href="https://stackoverflow.com/questions/1910359/creating-a-extended-user-profile">Creating a extended user profile</a>
  I didn't know what I'm doing wrong.</p>