Commit 03ad99e
committed
stop creating Product_Type_Member in classic add_product_type view
Drop the inline Product_Type_Member.objects.create call from
dojo/product_type/views.py:add_product_type. Pro's post_save signal on
Product_Type bootstraps the Owner row for the requesting user. Drop the
Product_Type_Member and Role imports since this was the last consumer in
this module.1 parent bcab3be commit 03ad99e
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 98 | + | |
105 | 99 | | |
106 | 100 | | |
107 | 101 | | |
| |||
0 commit comments