Fakultas Ilmu Komputer UI

seeds.py 2.38 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
BANK_ACCOUNT_TRANSFER_DESTINATION = {
    'bank_name': 'Dummy Bank Name',
21
22
    'bank_code_number': '011',
    'bank_account_number': '123456789',
WILLIAM GATES's avatar
WILLIAM GATES committed
23
24
25
    'bank_account_name': 'Dummy Bank Account Name',
}

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

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

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

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

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
60
    'link': 'https://example.com',
61
62
}

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

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

74
75
76
77
78
79
80
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
81
82
83
84
85
86
87
PROGRAM_DONATION_GOODS_DATA_DLV = {
    'goods_quantity': '10',
    'goods_description': 'Dummy Goods',
    'delivery_address': None,
    'delivery_method': 'DLV',
}

88

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

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',
}
101
102
103

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