-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
views: translate labels and not names (#567)
So that we can install caravel on postgresql: ``` 2016-06-03 17:58:05,386:ERROR:flask_appbuilder.base: Add Permission on Menu Error: (psycopg2.ProgrammingError) can't adapt type '_LazyString' [SQL: 'SELECT ab_view_menu.id AS ab_view_menu_id, ab_view_menu.name AS ab_view_menu_name \nFROM ab_view_menu \nWHERE ab_view_menu.name = %(name_1)s \n LIMIT %(param_1)s'] [parameters: {'param_1': 1, 'name_1': l'Sources'}] ``` Other that translating names should be a recipe for disaster if you switch language. Fix #558
- Loading branch information
1 parent
24a68f5
commit ad5507c
Showing
1 changed file
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters