title: Having a view push to a form in Django
body: <p>I'm having a bit of trouble with what seems to be a simple idea.</p>
  
  <p>I have a view called <code>register</code>.  I want that view to take the user to a registration form that I've created.</p>
  
  <pre><code>def register(request):
      form = register()
      data = {}
      data.update(csrf(request))
      data.update({ 'form' : form })
      return render_to_response("register.html", data)
  
  
  class register(forms.Form):
      rsb_first_name = forms.CharField(max_length = 25, required = True)
      rsb_last_name = forms.CharField(max_length = 25, required = True)
      rsb_company_name = forms.CharField(max_length = 25)
      rsb_address1 = forms.CharField(max_length = 50, required = True)
      rsb_address2 = forms.CharField(max_length = 50)
      rsb_city = forms.CharField(max_length = 50, required = True)
      rsb_zip_code = forms.CharField(max_length = 25, required = True)
      rsb_phone_number = USPhoneNumberField(label = "Phone", widget = USPhoneNumberMultiWidget(), required = True)
      rsb_email = forms.EmailField(required = True)
  </code></pre>
  
  <p>When I go to <code>/register/</code> I receive the following error:</p>
  
  <pre><code>register() takes exactly 1 argument (0 given)
  </code></pre>
  
  <p>What argument is it expecting?</p>
  
  <p>EDIT1:</p>
  
  <p>Thanks to eakron I was able to see what problem I was having - now I'm having another issue altogether.</p>
  
  <p>So, I renamed my view <code>registerUser</code>, changed the <code>urls.py</code> file to reflect that, and changed my form to <code>RegisterForm</code>.</p>
  
  <p>Now my view is simply:</p>
  
  <pre><code>def registerUser(request):
      form = RegisterForm()
      data = {}
      data.update(csrf(request))
      data.update({ 'form' : form })
      return render_to_response("register.html", data)
  </code></pre>
  
  <p>And I receive the following error:</p>
  
  <pre><code>Could not import rsb.views.registerUser. View does not exist in module rsb.views.
  </code></pre>
  
  <p>Thoughts?</p>