title: Using Django registration with a Flat UI template
body: <p>I have created a template design for signup page using Flat UI. Now i want to use Django registration to register a user. I have goggled various resources but they are very complex and using Django inbuilt form to create a form.</p>
  
  <p>I need simple steps that i can follow</p>
  
  <p><strong>signup.html</strong>(home/django/mysite/templates)</p>
  
  <pre><code>{% extends "base.html" %}
  
  
  {% block title %}Signup page{% endblock %}
  
  
   {% block content %}
  
  
    &lt;div class="container" style="width:500px"&gt;
    &lt;h3 style="margin-top:100px"&gt;Sign Up&lt;/h3&gt; 
    &lt;hr&gt;
    &lt;div class="login-form"&gt;
  
      &lt;form action="" method="post"&gt;
          &lt;div class="control-group span3" style="width:400px" &gt;
            &lt;input type="text"  value="" placeholder="Enter your name" id="name" style="width:400px;padding-bottom:15px;margin-bottom:10px" &gt;
            &lt;i class="input-icon fui-user" for="login-name"&gt;&lt;/i&gt;
          &lt;/div&gt;
  
          &lt;div class="control-group span3" style="width:400px" &gt;
            &lt;input type="text"  value="" placeholder="Your E-mail" id="email" style="width:400px;padding-bottom:15px;margin-bottom:10px" &gt;
            &lt;i class="input-icon fui-mail" for="login-name"&gt;&lt;/i&gt;
          &lt;/div&gt;
  
          &lt;div class="control-group span3" style="width:400px"&gt;
            &lt;input type="password" value="" placeholder="Password" id="pass" style="width:400px;padding-bottom:15px;margin-bottom:10px"&gt;
            &lt;i class="input-icon fui-lock" for="login-pass"&gt;&lt;/i&gt;
          &lt;/div&gt;
  
  
          &lt;div class="control-group span3" style="width:400px"&gt;
            &lt;input type="password"  value="" placeholder="Confirm Password" id="login-pass" style="width:400px;padding-bottom:15px;margin-bottom:10px"&gt;
            &lt;i class="input-icon fui-lock" for="login-pass"&gt;&lt;/i&gt;
          &lt;/div&gt;
  
          &lt;div style="text-align:center"&gt; 
          &lt;a class="btn btn-hg btn-primary btn-wide" href="#"&gt;Sign Up&lt;/a&gt;
          &lt;!--&lt;a class="login-link" href="#"&gt;Lost your password ?&lt;/a&gt; --&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  
    &lt;/div&gt;&lt;!-- /login-form --&gt;
  
    &lt;/div&gt; &lt;!-- /container --&gt;
  
  
   {% endblock content %}
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>def signup(request):
  
    return render(request, 'signup.html')
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>urlpatterns = patterns('',
  
  
  url(r'^signup/$', views.signup),)
  </code></pre>
  
  <p>What i should write in views.py or models.py to register a user using django registration.</p>