meta order Agency Client User Compaign defaults User is_active True Ag

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
meta:
order: [Agency, Client, User, Compaign]
defaults:
User:
is_active: True
Agency:
- name: Суперстар Агенство
ref: star
- name: Unlimited Success
ref: success
User:
# Agency managers
- username: mars
agency: {Agency: star}
is_staff: True
is_superuser: True
- username: boss
agency: {Agency: success}
is_staff: True
is_superuser: True
# Client managers
- username: balt_manager
client: {Client: baltika}
- username: blat_manager
client: {Client: gazprom}
Client:
- name: Балтика
ref: baltika
- name: Газпром
ref: gazprom
Compaign:
- name: Пей, пока жив
client: {Client: baltika}
- name: Наше пиво не токсично
client: {Client: baltika}
- name: А у нас на кухне газ
client: {Client: gazprom}