Fakultas Ilmu Komputer UI

seeds.py 2.34 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SUPERUSER_DATA = {
    'username': 'admin',
    'email': 'admin@example.com',
    'password': 'admin',
}

USER_DATA = {
    'username': 'dummyuser',
    'password': 'dummypassword',
    'full_name': 'Dummy Full Name',
    'phone_number': '+6285212345678',
    'address': 'Dummy Address',
    'neighborhood': '001',
    'hamlet': '001',
    'urban_village': 'Dummy Urban Village',
    'sub_district': 'Dummy Sub-District',
}

WILLIAM GATES's avatar
WILLIAM GATES committed
19
20
21
22
23
24
BANK_ACCOUNT_TRANSFER_DESTINATION = {
    'bank_name': 'Dummy Bank Name',
    'bank_account_number': 'Dummy Bank Account Number',
    'bank_account_name': 'Dummy Bank Account Name',
}

25
26
27
28
29
30
31
32
33
34
35
CATEGORY_DATA = {
    'name': 'Dummy Category',
}

SUBCATEGORY_DATA = {
    'name': 'Dummy Subcategory',
}

PRODUCT_DATA = {
    'name': 'Dummy Product',
    'description': 'Dummy description.',
36
    'price': '2000',
37
    'stock': 10,
38
    'modal':'1000',
39
40
41
42
43
}

TRANSACTION_DATA = {
    'payment_method': 'TRF',
    'donation': '1000',
WILLIAM GATES's avatar
WILLIAM GATES committed
44
    'transaction_status': '001',
45
46
47
48
49
50
51
52
53
54
55
56
57
}

TRANSACTION_ITEM_DATA = {
    'quantity': 1,
}

PROGRAM_DATA = {
    'name': 'Dummy Program',
    'description': 'Dummy description.',
    'start_date_time': '2020-01-01T00:00:00+07:00',
    'end_date_time': '2020-02-02T00:00:00+07:00',
    'location': 'Dummy Location',
    'speaker': 'Dummy Speaker',
WILLIAM GATES's avatar
WILLIAM GATES committed
58
    'link': 'https://example.com',
59
60
}

61
62
63
64
65
PROGRAM_PROGRESS_DATA = {
    'date': '2020-10-26',
    'description': 'Progress update 1'
}

66
PROGRAM_DONATION_CASH_DATA = {
67
    'amount': '1000',
Rayhan Muzakki's avatar
Pbi3    
Rayhan Muzakki committed
68
69
    'user_bank_name': 'Dummy Bank Name',
    'user_bank_account_name': 'Dummy Bank Account Name',
70
71
}

72
73
74
75
76
77
78
PROGRAM_DONATION_GOODS_DATA = {
    'goods_quantity': '10',
    'goods_description': 'Dummy Goods',
    'delivery_address': 'Dummy Address',
    'delivery_method': 'PCK',
}

Rayhan Muzakki's avatar
Rayhan Muzakki committed
79
80
81
82
83
84
85
PROGRAM_DONATION_GOODS_DATA_DLV = {
    'goods_quantity': '10',
    'goods_description': 'Dummy Goods',
    'delivery_address': None,
    'delivery_method': 'DLV',
}

86

WILLIAM GATES's avatar
WILLIAM GATES committed
87
88
HELP_CONTACT_CONFIG_DATA = {
    'email': 'dummy@example.com',
89
90
91
92
93
94
95
96
97
98
}

SHIPMENT_CONFIG_DATA = {
    'hamlet': '001',
    'urban_village': 'Dummy Urban Village',
    'sub_district': 'Dummy Sub-District',
    'same_hamlet_costs': '1000',
    'same_urban_village_different_hamlet_costs': '2000',
    'same_sub_district_different_urban_village_costs': '3000',
}
99
100
101

BATCH_DATA = {
    'batch_name': 'Batch 1',
Rayhan Muzakki's avatar
Rayhan Muzakki committed
102
103
    'start_date': '2020-12-26',
    'end_date': '2021-01-01',
104
    'shipping_cost': '60000',
inez nabila's avatar
inez nabila committed
105
}