title: How to assign a group to user as the time of signup in class based view in django?
body: <p>I am using class based views in my djanog project. i need to assign a group named 'customer' (from django.contrib.auth.Group) at the time of when a user signsup (register)</p>
  <p>this is my view for signup</p>
  <pre><code>class UserSignup(SuccessMessageMixin, CreateView):
      template_name = 'users/signup.html'
      success_url = reverse_lazy('home')
      form_class = UserSignupForm
      success_message = 'Account Created with the name of %{first_name} %{last_name}'
  </code></pre>