title: signup() takes exactly 1 argument (0 given)
body: <p>I am trying to create signup form adding email field in django from base class UserCreationForm. The code goes as</p>
  
  <p><strong>form.py</strong></p>
  
  <pre><code>class signup(UserCreationForm):
  
    email=forms.EmailField()
  
    class Meta:
      model=User
      fields=('username','email','password1','password2')
  
    def save(self, commit=True):
          user = super(UserCreationForm, self).save(commit=False)
          user.email=(self.cleaned_data["email"])
          if commit:
              user.save()
          return user
  </code></pre>
  
  <p><strong>view.py</strong></p>
  
  <pre><code>def signup(request):
      if request.method=='POST':
          form=signup(request.POST)
          if form.is_valid():
              form.save()
              return HttpResponseRedirect('/accounts/rgsuc')
  
      args={}
      args.update(csrf(request))
      args['form']=signup()
      return render_to_response('register.html',args)
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code> url(r'^accounts/signup',signup),
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <pre><code>\view.py in signup, line 75
  signup() takes exactly 1 argument (0 given)
  </code></pre>
  
  <p>I tried through this video tutorial <a href="http://www.youtube.com/watch?v=xaPHSlTmg1s&amp;list=PLxxA5z-8B2xk4szCgFmgonNcCboyNneMD" rel="nofollow">here</a></p>