Changes between Initial Version and Version 1 of Ticket #31922


Ignore:
Timestamp:
Aug 20, 2020, 3:30:49 PM (4 years ago)
Author:
Chris Bell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31922 – Description

    initial v1  
    2020We will add some data:
    2121
     22
     23{{{
    2224from django.utils import timezone
    2325from utils.models import *
     
    2830BookStatus.objects.create(book=b1, status='PUBLISHED', valid_from=timezone.now())
    2931BookStatus.objects.create(book=b2, status='DRAFT', valid_from=timezone.now())
     32}}}
     33
    3034
    3135Now we want to find all books that are in draft but not published.
Back to Top