Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ricardochaves/django-adminlte

Change the default Django templates to the [LTE](https://almsaeedstudio.com/themes/AdminLTE/index2.html)
https://github.com/ricardochaves/django-adminlte

adminlte django-admin django-admin-panel

Last synced: 5 days ago
JSON representation

Change the default Django templates to the [LTE](https://almsaeedstudio.com/themes/AdminLTE/index2.html)

Awesome Lists containing this project

README

        

.. image:: https://badge.fury.io/py/django-lteadmin.svg
:target: https://badge.fury.io/py/django-lteadmin

###############################
Django-AdminLTE
###############################
Change the default Django templates to the `LTE `_

This is my first open source project done in Django, I hope it will be useful for you and look forward to suggestions, bugs and collaborations.

###############################
How do I get set up?
###############################

Instale usando PyPI:

pip install django-lteadmin

Add the app ``adminlte`` to ``settings.py``

INSTALLED_APPS = (
'adminlte',
...
)

###############################
What will you see in your admin?
###############################

Menu Icons
###############################

Menu icons are set in the Model:

class MyModel(models.Model):
Name = models.CharField(
...

def get_icon_menu_model_class(self):
return 'fa-user'

def get_icon_menu_add_model_class(self):
return 'fa-plus'

def get_icon_menu_change_model_class(self):
return 'fa-edit'

###############################
To Do
###############################

* Create tests
* Maintain menu status after selecting an item
* Organize the code according to the `PEP 8 `_