예제 #1
0
def _create_datarequest1():
    datarequest1 = DataRequest(
        creator=bill,
        name='Data Request Item 3',
        description='This is a datarequest which is canceled, and it ' + \
            'should be on the profile page <- by bill ',
        status='C',
        is_active=True)
    datarequest1.save()
    
    return datarequest1
예제 #2
0
def _create_datarequest2():
    datarequest2 = DataRequest(
        creator=bill,
        name='Data Request Item 4',
        description='This is a datarequest which is unfulfilled, and it ' + \
            'should be on the profile page <- by bill ',
        status='U',
        is_active=True)
    datarequest2.save()
    
    return datarequest2
예제 #3
0
def _create_datarequest1():
    datarequest1 = DataRequest(
        creator=bill,
        name="Data Request Item 3",
        description="This is a datarequest which is canceled, and it " + "should be on the profile page <- by bill ",
        status="C",
        is_active=True,
    )

    datarequest1.save()

    return datarequest1
예제 #4
0
def _create_datarequest2():
    datarequest2 = DataRequest(
        creator=bill,
        name="Data Request Item 4",
        description="This is a datarequest which is unfulfilled, and it " + "should be on the profile page <- by bill ",
        status="U",
        is_active=True,
    )

    datarequest2.save()

    return datarequest2