class Driver(get_user_model()):
class Meta:
proxy = True
class DriverExtraFields(models.Model):
driver = models.OneToOneFields(Driver, on_delete=models.CASCADE, related_name='extra')
...
{% block account_form %}
...
{% blockinner account_form %}...{% endblockinner %}
...
{% endblock %}
<form class="form" novalidate>
<div class="form__row">
<input placeholder="Subject" class="textbox-input" id="subject" type="text" v-validate:subject="['required']">
</div>
<div class="form__row invalid untouched">
<input placeholder="Enter your problem" class="textbox-input" id="description" type="text" v-validate:description="{ minlength: 1, maxlength: 256 }">
</div>
<div class="error">
<p v-if="$validation.subject.required">Required your name.</p>
</div>
</form>
Вот начали делать: https://habr.com/ru/post/281040/, но он 4 года не обновлялся...