How to add first name and last name to Django-registeration-redux registeration form?
<p>I'm using Django-redux but the registeration form only accepts username, email and password. However, I also want to accept <strong>first name</strong> and <strong>last name</strong> and also <strong>fields from other models</strong> like profile pic and city.. I could only find this question: <a href="https://stackoverflow.com/questions/9023493/adding-first-name-and-last-name-to-django-registration">Adding first name and last name to Django-Registration</a> and it's not answered.</p>

<p>This is in my urls.py:</p>

<pre><code>url(r'^', include('registration.backends.simple.urls')),
</code></pre>

<p>and this is in my template:</p>

<pre><code>{{ form.as_p }} 
</code></pre>

<p>I also want to add this form to the registration form:</p>

<pre><code>class UserProfileForm(forms.ModelForm):
        class Meta:
            model = UserProfile
            fields = ('profilepic', 'city')
</code></pre>

<p>Thank you.</p>