Giter VIP home page Giter VIP logo

yorubadeveloper / flask-admin-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
111.0 111.0 50.0 9.62 MB

Flask Admin Boilerplate with MongoDB

Home Page: https://flask-admin-boilerplate.herokuapp.com/

License: MIT License

Python 1.79% CSS 58.19% JavaScript 3.60% HTML 30.16% SCSS 6.26% Procfile 0.01%
admin-dashboard dashboard-application flask flask-admin flask-admin-boilerplate flask-admin-template flask-application flask-dashboard flask-mail gunicorn mongodb-database pymongo python python-flask-framework python3 sbadmin2 smtp

flask-admin-boilerplate's Issues

__init__.py : NameError: name 'os' is not defined

Hi Team,

During my initial clone, I have observed below error :

It seems we need to import os in init.py

(venv) tusharniras@tusharniras-macbookpro:~/Desktop/sanbox/flask-admin-boilerplate$ python app.py
Traceback (most recent call last):
  File "/Users/tusharniras/Desktop/sanbox/flask-admin-boilerplate/app.py", line 4, in <module>
    from views import *
  File "/Users/tusharniras/Desktop/sanbox/flask-admin-boilerplate/views/__init__.py", line 3, in <module>
    from model import *
  File "/Users/tusharniras/Desktop/sanbox/flask-admin-boilerplate/model/__init__.py", line 3, in <module>
    from helpers.database import *
  File "/Users/tusharniras/Desktop/sanbox/flask-admin-boilerplate/helpers/database.py", line 2, in <module>
    import configuration
  File "/Users/tusharniras/Desktop/sanbox/flask-admin-boilerplate/configuration/__init__.py", line 11, in <module>
    app.config['MAIL_PASSWORD'] = os.environ['MAIL_PASSWORD'] #password
NameError: name 'os' is not defined
(venv) tusharniras@tusharniras-macbookpro:~/Desktop/sanbox/flask-admin-boilerplate$ 

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.