lyhapple / django-adminlte Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
ImportError: No module named 'serializers'
你好,我安装requirement.txt安装依赖包,不过报错。
pip install -r requirement.txt 到安装mysql的时候就会报错
Collecting MySQL-python==1.2.5 (from -r requirement.txt (line 10))
Using cached MySQL-python-1.2.5.zip
Complete output from command python setup.py egg_info:
sh: mysql_config: command not found
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/xx/ftb5d3rd7zsg620wkdydhq180000gn/T/pip-build-lao0vC/MySQL-python/setup.py", line 17, in
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
今天在创建一个任务的时候.apps会导致出现报错.
修改apps为mapps后正常.
建议apps改成其他的名称.
如题,
怀疑是 vue 的问题,前端没有报错,但是不知道怎么解决。
我的表单不一定都是标准的 ModelForm,比如我有个Multi-select框,似乎因为这个项目里用了vuejs,无法使用django的form来渲染?
我想把这个移植到python 3,能和你交流么
core.adminlte.middleware.ApiPermissionCheck
代码中.21行
原始写法
for p in permissions:
resources.append(p.resources.values_list('url', flat=True))
此写法.会导致普通.权限用户.直接返回403
修改后 正常.
resources.append(list(p.resources.values_list('url', flat=True)))
跑起来 ……^_^
我看到代码里有许多地方的 序列化类的Meta里,有 read_only_fields
,但我用在自己的类里面,没有效果。
我想的是在 list_display_fields 的字段,到update页面之后,只读的是灰掉不可编辑,而不是消失,请问需要哪些改动呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.