With a formset, like your application form, the template could look like
one of these examples:
{{ formset.management_form }}
{% for form in formset %}
{{ form }}
{% endfor %}
{{ formset }}
(found on
https://docs.djangoproject.com/en/de
Thanks for the help.
I've modified the Applicant model:
class Application(models.Model):
app_complete = models.BooleanField(default=False)
applicant = models.ForeignKey('Applicant', unique=True)
created_by = models.ForeignKey(User, related_name='+')
There is really no data being ente
Hi Brad,
At the moment, two models do not have any relationship. I think you made an
error in Line 3:
created_by = models.ForeignKey(User, unique=True)
I think you meant "Applicant" instead of User.
Regards,
Arun
On Friday, January 10, 2014 3:13:42 AM UTC+5:30, Brad Rice wrote:
>
> I have
3 matches
Mail list logo