一个简单的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/>;”编码

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java不可访问配置设计   在java中使用json就像在javascript中一样   java如何屏蔽Android 4.0主密钥   java为什么clickable的预期条件不执行click()?   Azure事件中心:Kafka消费者在java中不轮询任何内容   javajaxb和enum实现接口   java如何在标记下添加ProgressBar和按钮   java如何为对象实现arrayList   使用多重匹配重载java构造方法重载   java使用for循环和if语句搜索帐户   java JPanel在JPanel中添加了顶部填充   IntelliJ将Java项目/模块转换为Maven项目/模块   java如何迭代arraylist中的arraylist   自定义类的java“找不到符号”错误