Best template

This commit is contained in:
Andros Fenollosa
2021-11-12 20:54:20 +01:00
parent c8fbf9fb4a
commit ae59910bb7
5 changed files with 23 additions and 13 deletions

View File

@ -19,9 +19,7 @@ def run():
category=Category.objects.order_by("?")[0],
author=Profile.objects.order_by("?")[0],
is_draft=False,
content="<p>"
+ "</p><p>".join(fake.paragraph(nb_sentences=randint(5, 10)))
+ "</p>",
content=fake.paragraph(nb_sentences=randint(20, 100)),
)
my_talk.save()