Make Lexeme constructor accept FormSet only

Authored by thiemowmde on Oct 12 2017, 8:32 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.


Make Lexeme constructor accept FormSet only

This is mostly for consistency. The class exists. There is the NewForm
builder which should accept other stuff for consistency. Here we want to
be strict.

Next step should be to make all the getters return FormSet objects too.
But this touches much more code and should be done later.

I'm also fixing a few mistakes in related code, like Serializers binding
against way to specific implementations.

Bug: T164742
Change-Id: I5385781b0109b4fe0023c27fa987cc1978ffc525