Untitled

mail@pastecode.io avatarunknown
plain_text
a month ago
2.0 kB
16
Indexable
Never
In [36]: cat1 = Category.objects.create(name="ca1", description="It prepare is ye nothing blushes up brought")

In [37]: Category.objects.create(name="ca2", description="It prepare is ye nothing blushes up brought - cat2")
Out[37]: <Category: Category object (2)>

In [38]: Category.objects.create(name="ca3", description="It prepare is ye nothing blushes up brought - cat3")
Out[38]: <Category: Category object (3)>

In [39]: Article.objects.create(title="sample2", author="acceptance apartments", content="She who arrival end how fertile enabl
    ...: ed. Brother she add yet see minuter natural smiling article painted. Themselves at dispatched interested insensible am
    ...:  be prosperous reasonably it. In either so spring wished. Melancholy way she boisterous use friendship she dissimilar 
    ...: considered expression.", published_date_start="2020-02-01", published_date_end="2021-02-01", status=0)
Out[39]: <Article: Article object (1)>

In [40]: Article.objects.create(title="sample 1", author="acceptance apartments", content="She who arrival end how fertile enab
    ...: led. Brother she add yet see minuter natural smiling article painted. Themselves at dispatched interested insensible a
    ...: m be prosperous reasonably it. In either so spring wished. Melancholy way she boisterous use friendship she dissimilar
    ...:  considered expression.", published_date_start="2020-02-01", published_date_end="2021-02-01", status=1)
Out[40]: <Article: Article object (2)>

In [41]: Article.objects.create(title="sample 3", author="acceptance apartments", content="She who arrival end how fertile enab
    ...: led. Brother she add yet see minuter natural smiling article painted. Themselves at dispatched interested insensible a
    ...: m be prosperous reasonably it. In either so spring wished. Melancholy way she boisterous use friendship she dissimilar
    ...:  considered expression.", published_date_start="2020-02-01", published_date_end="2021-02-01", status=2)
Out[41]: <Article: Article object (3)>