Skip to content

rutika87/flaskApp

 
 

Repository files navigation

Flask-AdminLTE

image

Requirements Status

Flask-AdminLTE packages AdminLTE into an extension that mostly consists of a blueprint named 'adminlte'. It can also create links to serve AdminLTE from a CDN and works with no boilerplate code in your application.

Installation

If you're not already using virtualenv then I strongly recommend you do, it's just going to make your life a whole lot easier. The Flask Mega Tutorial has instructions on setting up virtualenv.

Optional but recommended step to use a virtualenv:

virtualenv myapp
pip install -r requirements.txt

Running the sample application

There is a sample application in sample_application/ which you can adapt to your needs. After installing the requirements run it from the project directory:

python run_sample_application.py

Usage

Here is an example:

from flask_adminlte import AdminLTE

[...]

AdminLTE(app)

This makes some new templates available, containing blank pages that include all bootstrap resources, and have predefined blocks where you can put your content.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.8%
  • HTML 37.9%
  • Python 9.9%
  • CSS 8.4%