mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 04:09:25 +02:00
See #890: initial API endpoint to handle management of reports
This commit is contained in:
parent
815d9c02f8
commit
8f7ab82117
6 changed files with 90 additions and 2 deletions
|
@ -44,7 +44,7 @@ class UserFilterFactory(NoUpdateOnCreate, factory.DjangoModelFactory):
|
|||
@registry.register
|
||||
class ReportFactory(NoUpdateOnCreate, factory.DjangoModelFactory):
|
||||
submitter = factory.SubFactory(federation_factories.ActorFactory)
|
||||
target = None
|
||||
target = factory.SubFactory(music_factories.ArtistFactory)
|
||||
summary = factory.Faker("paragraph")
|
||||
type = "other"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue