HomePhabricator

Make Lexeme constructor accept FormSet only

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

Description

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 convenience. Here we want to
be strict.

Next step is to make all the getters return FormSet objects too. But
this touches much more code and will be done later, see I1af251f.

I'm also fixing a few mistakes in related code.

Bug: T164742
Change-Id: I5385781b0109b4fe0023c27fa987cc1978ffc525

Details

Committed
thiemowmdeOct 16 2017, 12:49 PM
Parents
rEWLE5c35bffe9f8e: Allow API response for Lemmas to be optional
Branches
Unknown
Tags
Unknown
References
refs/changes/93/383793/6
ChangeId
I5385781b0109b4fe0023c27fa987cc1978ffc525