1
Fork 0
This repository has been archived on 2024-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-draftail-snippet/tests/testapp/factories.py
2020-02-13 17:53:35 +05:30

11 lines
180 B
Python

import factory
from .models import Advert
class AdvertFactory(factory.Factory):
class Meta:
model = Advert
url = "https://www.example.com"
text = "Example"