Skip to content

Commit

Permalink
black and fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Dec 1, 2020
1 parent 5eda6d3 commit c4d84f3
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"""

# revision identifiers, used by Alembic.
revision = '8ee129739cf9'
down_revision = 'e38177dbf641'
revision = "8ee129739cf9"
down_revision = "e38177dbf641"


from alembic import op
Expand All @@ -39,7 +39,6 @@
Pvm,
)


NEW_PVMS = {"CssTemplate": ("can_read", "can_write",)}
PVM_MAP = {
Pvm("CssTemplateModelView", "can_list"): (Pvm("CssTemplate", "can_read"),),
Expand All @@ -48,7 +47,6 @@
Pvm("CssTemplateModelView", "can_edit",): (Pvm("CssTemplate", "can_write"),),
Pvm("CssTemplateModelView", "can_delete",): (Pvm("CssTemplate", "can_write"),),
Pvm("CssTemplateModelView", "muldelete",): (Pvm("CssTemplate", "can_write"),),
Pvm("CssTemplateModelView", "can_mulexport",): (Pvm("CssTemplate", "can_read"),),
Pvm("CssTemplateAsyncModelView", "can_list",): (Pvm("CssTemplate", "can_read"),),
Pvm("CssTemplateAsyncModelView", "muldelete",): (Pvm("CssTemplate", "can_write"),),
}
Expand Down

0 comments on commit c4d84f3

Please sign in to comment.