Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Alihassanc5 committed Dec 27, 2022
1 parent 5175d47 commit a2e776d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions home/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,14 @@ class MiscellaneousIndexPageFactory(PageFactory):
class Meta:
model = MiscellaneousIndexPage


class OfflineContentIndexPageFactory(ArticleFactory):
title = factory.Sequence(lambda n: f'offline-content-index{n}')

class Meta:
model = OfflineContentIndexPage


class SVGToPNGMapFactory(DjangoModelFactory):
png_image_file = factory.LazyAttribute(
lambda _: ContentFile(
Expand Down

0 comments on commit a2e776d

Please sign in to comment.