Create additional model on activation django-registration
<p>I have been struggling with implementing different answers to handle (e.g. <a href="https://stackoverflow.com/questions/2601487/django-registration-django-profile-using-your-own-custom-form/14834740#14834740">Django-Registration &amp; Django-Profile, using your own custom form</a>) but have not managed to get this to work in my project because it seems too out of date.</p>

<p>Essentially I have installed Django-Registration in my project and can have the User authenticated and created via this.</p>

<p>However, I have extended the User with the following UserProfile model:</p>

<pre><code>class UserProfile(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    account_type = models.IntegerField(null = True, default= 1)
    daily_message = models.BooleanField(default = True)
    tel_number = models.CharField(max_length=20, null = True)

    def __str__(self):
        return str(self.user)
</code></pre>

<p>And I would like that either:</p>

<ol>
<li>UserProfile with default/null values is created for each user
(user can update this later)</li>
<li>User is able to enter a telephone
number with other details on registration.</li>
</ol>

<p>The following is hooked up in my URLs.py:</p>

<pre><code>urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^accounts/', include('registration.backends.hmac.urls')),
    url(r'^', include('app.urls'))
]
</code></pre>

<p>As I have no visibility over any of the Django-registration forms and a lot of the documentation describes a custom user model (which I do not have), any ideas how I could do one of the above?</p>