Skip to content

ricardochaves/django-adminlte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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