Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/ricardochaves/django-adminlte
- Owner: ricardochaves
- License: bsd-3-clause
- Created: 2017-03-28T17:23:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-30T20:20:01.000Z (over 6 years ago)
- Last Synced: 2024-09-18T04:45:07.317Z (about 2 months ago)
- Topics: adminlte, django-admin, django-admin-panel
- Language: JavaScript
- Homepage:
- Size: 952 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 `_