Skip to content
NamPNQ edited this page Dec 5, 2013 · 4 revisions

Layout:

admin
    routes.py  --> Router for admin
    templates
        admin  --> Template admin here
appengine_config.py  --> app engine config
application
    config.py  --> config for application
    external --> external libraries
    forms.py --> form using WTForm
    handlers.py --> handler for application
    lib --> some utils
    models.py --> model
    routes.py --> router for application
    static
        css --> css for application
        img --> image for application
        js
            libs --> js libs
            main.js --> main javascript, 
            plugins.js --> some jquery plugin
            welcome.js --> welcome page js
       less
    templates --> template for applcation
    tests.py
app.yaml
config
dos.yml
fabfile.py
index.yaml
locale
    babel.cfg
    en_US
        LC_MESSAGES
            messages.mo
            messages.po --> Translate to english
    messages.pot
    vi_VN
        LC_MESSAGES
            messages.mo
            messages.po --> Translate to vietnamese