Google AppEngine: Formularverarbeitung "wiederholt" StructuredProperty

Wie arbeite ich mitndb.StructuredProperty (wiederholt = True) Eigenschaften, wenn es darum geht, ihre Formen und Handler zu entwerfen? Betrachten Sie dieses Beispiel:

Ich habe 3 ndb.Model Arten:SkilledPerson, seineBildungund sein (Werk)Erfahrung. Die beiden letzteren sind StructuredProperty-Typen von SkilledPerson.

class SkilledPerson(ndb.Model):
    name = ndb.StringProperty()
    birth = ndb.DateProperty()
    education = ndb.StructuredProperty(Education, repeated = True)
    experience = ndb.StructuredProperty(Experience, repeated = True)

class Education(ndb.Model):
    institution = ndb.StringProperty()
    certification = ndb.StringProperty()
    start = ndb.DateProperty()
    finish = ndb.DateProperty()

class Experience(ndb.Model):
    job_title = ndb.StringProperty()
    workplace = ndb.StringProperty()
    start = ndb.DateProperty()
    finish = ndb.DateProperty()

Wie würde ich ein Formular für das erstellen?Erfahrene Person Entität? Es würden einfache Felder wie angezeigtName undGeburt (StringProperty und DateProperty). Zusätzlich muss eine 'Gruppe' von Feldern für das angezeigt werdenBildung undErfahrung StructuredProperty-Eigenschaften. Ich könnte mir die Form so vorstellen:

<form method="post">

<h2>Skilled Person Form</h2>

    <label>Name<br> 
        <input type="text" name="name" value="{{name}}">
    </label>


    <label>Birth<br> 
        <input type="date" name="birth" value="{{birth}}">
    </label>


    <!-- Education form goes here -->

    <!-- and Experience form goes here -->

    <input type="submit">

</form>

Wie binde ich die Feldgruppen für Bildung und Erfahrung in dieses Formular ein?

Ein BeispielBildung&nbsp;bilden:

<form method="post">

<h2>Add Education</h2>

    <label>Institution<br> 
        <input type="text" name="institution" value="{{institution}}">
    </label>

    <label>Certification<br> 
        <input type="text" name="certification" value="{{certification}}">
    </label>

    <label>Start<br> 
        <input type="date" name="start" value="{{start}}">
    </label>

    <label>Finish<br> 
        <input type="date" name="finish" value="{{finish}}">
    </label>

    <input type="submit">

</form>