Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Django application contain adminlte static files.

Project description

Django application contain adminlte static files

Install

pip install django-static-adminlte

Settings

INSTALLED_APPS = [
    ...
    "django_static_adminlte",
    ...
]

Use static resource

{% load staticfiles %}

{% block style %}
    <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}">
    <link rel="stylesheet" href="{% static "font-awesome/css/font-awesome.min.css" %}">
    <link rel="stylesheet" href="{% static "ionicons/css/ionicons.min.css" %}">
    <link rel="stylesheet" href="{% static "adminlte/css/AdminLTE.min.css" %}">
    <link rel="stylesheet" href="{% static "adminlte/css/skins/_all-skins.min.css" %}">
    <link rel="stylesheet" href="{% static "adminlte-app-fix.css" %}">
    <!--[if lt IE 9]>
    <script src="{% static "html5shiv/html5shiv.min.js" %}"></script>
    <script src="{% static "respond/respond.min.js" %}"></script>
    <![endif]-->
{% endblock %}

{% block script %}
    <script src="{% static "jquery/jquery.min.js" %}"></script>
    <script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
    <script src="{% static "jquery-slimscroll/jquery.slimscroll.min.js" %}"></script>
    <script src="{% static "fastclick/fastclick.js" %}"></script>
    <script src="{% static "adminlte/js/adminlte.min.js" %}"></script>
    <script>
        $(document).ready(function () {
            $('.sidebar-menu').tree()
        });
    </script>
{% endblock %}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-static-adminlte, version 2.4.3.2
Filename, size File type Python version Upload date Hashes
Filename, size django-static-adminlte-2.4.3.2.tar.gz (3.1 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page