一个简单的django应用程序来进行基于web的投票。
django-lteadmin的Python项目详细描述
###############################
Django-AdminLTE
###############################
Change the default Django templates to the `LTE <https://almsaeedstudio.com/themes/AdminLTE/index2.html>`_
This is my first open source project done in Django, I hope it will be useful for you and look forward to suggestions, 臭虫与合作。
如何设置?
###############################
Instale usando PyPI:
pip install django-lteadmin
Add the app ``adminlte`` to ``settings.py``
INSTALLED_APPS = (
'adminlte',
……
。你会在你的管理层看到什么?
###############################
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 根据“pep 8<;http://www.python.org/dev/peps/pep-0008/>;”编码
Django-AdminLTE
###############################
Change the default Django templates to the `LTE <https://almsaeedstudio.com/themes/AdminLTE/index2.html>`_
This is my first open source project done in Django, I hope it will be useful for you and look forward to suggestions, 臭虫与合作。
如何设置?
###############################
Instale usando PyPI:
pip install django-lteadmin
Add the app ``adminlte`` to ``settings.py``
INSTALLED_APPS = (
'adminlte',
……
。你会在你的管理层看到什么?
###############################
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 根据“pep 8<;http://www.python.org/dev/peps/pep-0008/>;”编码