Giter Club home page Giter Club logo

flask-appbuilder-skeleton's Introduction

Hi there ๐Ÿ‘‹

Committer and PMC Member of Apache Superset

  • ๐Ÿซง Diving into music, code and underwater
  • ๐ŸŒฑ Nurturing plants and open source projects

Reach out:

flask-appbuilder-skeleton's People

Contributors

dpgaspar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-appbuilder-skeleton's Issues

wtf error?

In an Ubuntu 13.10 64 , Python 2.7, I just clone the project skeleton in a virtualenv where i installed flask and flask-appbuilder; and run.py return error:

/home/hilam/python-envs/flask/bin/python /home/hilam/PycharmProjects/transparencia/run.py
Traceback (most recent call last):
File "/home/hilam/PycharmProjects/transparencia/run.py", line 1, in
from app import app
File "/home/hilam/PycharmProjects/transparencia/app/init.py", line 33, in
from app import views
File "/home/hilam/PycharmProjects/transparencia/app/views.py", line 1, in
from flask.ext.appbuilder.baseapp import BaseApp
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask/exthook.py", line 81, in load_module
reraise(exc_type, exc_value, tb.tb_next)
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask_appbuilder/baseapp.py", line 3, in
from .views import IndexView
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask_appbuilder/views.py", line 6, in
from .baseviews import expose, BaseView, BaseCRUDView
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask_appbuilder/baseviews.py", line 5, in
from forms import GeneralModelConverter
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask_appbuilder/forms.py", line 18, in
from fieldwidgets import (BS3TextAreaFieldWidget,
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask_appbuilder/fieldwidgets.py", line 2, in
from flask.ext.wtf import fields, widgets, TextField
File "/home/hilam/python-envs/flask/local/lib/python2.7/site-packages/flask/exthook.py", line 87, in load_module
raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.wtf.TextField

Process finished with exit code 1

Can't append a new language (i18n ) in Flask-appbuilder?

Hi Guru,
I tried to append a new language option , taiwan, based on design of flask-appbuilder-skeleton. According to flask app-builder instruction, I append an entry in config.py :

"tw": {"flag": "tw", "name": "Taiwan"},

also I extract phrases by babel.cfg to generate messages.pot file in /babel. Here are codes in babel.cfg :

[python: **.py]
[jinja2: /templates/.html]
keywords=_,gettext,ngettext,lazy_gettext
encoding = utf-8`
next, make po file in /tw/LC_MESSAGES/messages.po. after translating po file and compiling po file to mo file, seems everything is done. however, I only saw Taiwan option in language list, the translation of "Welcome" is still in English.

I tried making /tw folder in flask-appbuilder/translations. but TW is still shown in English. How should I append a new language in flask-appbuilder ? Please advise. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.