erenming / blog Goto Github PK
View Code? Open in Web Editor NEW基于django1.10的个人博客
License: MIT License
基于django1.10的个人博客
License: MIT License
blog/app/models.py", line 2, in
from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'
------->from django.urls import reverse
???????
ProgrammingError at /
(1146, u"Table 'blog.app_article' doesn't exist")
这个什么意思求助
运行python3 manage.py runserver 172.16.160.162:8090时,报错
ModuleNotFoundError: No module named 'celery'
celery这个怎么安装?
如题
hello,想问一下你的前端用了什么框架?还是自己用bootstrap写的?thanks
你好,能把表结构发一下吗?[email protected],多谢了!
您好:
添加分类 和 标签集时候不允许中文,谢谢!
Request Method: | POST |
---|---|
http://192.168.100.102:8000/admin/app/tag/add/?_to_field=id&_popup=1 | |
1.11.6 | |
UnicodeEncodeError | |
'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) | |
/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/utils/encoding.py in force_text, line 80 | |
/root/.virtualenvs/env_django/bin/python | |
2.7.12 | |
['/home/ygm/django_work/bootstrap3', '/home/ygm/django_work/blog', '/home/ygm/django_work/blog', '/root/.virtualenvs/env_django/lib/python2.7', '/root/.virtualenvs/env_django/lib/python2.7/plat-x86_64-linux-gnu', '/root/.virtualenvs/env_django/lib/python2.7/lib-tk', '/root/.virtualenvs/env_django/lib/python2.7/lib-old', '/root/.virtualenvs/env_django/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/root/.virtualenvs/env_django/local/lib/python2.7/site-packages', '/home/ygm/django_work/django-highcharts', '/root/.virtualenvs/env_django/lib/python2.7/site-packages', '/home/ygm/django_work/blog'] | |
Sun, 22 Oct 2017 21:41:20 +0800 |
你前端显示使用了 markdown的样式 那后台添加的时候有没有用富文本编辑器 ,我这边后台添加了kindeditor富文本编辑器 ,添加的内容在前端显示总是报错不晓得原因,求指导!
大神,登陆校验写在哪里了?为什么我把数据库中的用户名和密码做了修改依然不能登陆?
请教下:
Environment:
Request Method: GET
Request URL: http://192.168.100.102:8000/
Django Version: 1.11.6
Python Version: 2.7.12
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app.apps.AppConfig',
'bootstrap3']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'app.middleware.ShowSqlMiddleware']
Traceback:
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
217. response = self.process_exception_by_middleware(e, request)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
215. response = response.render()
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/response.py" in render
107. self.content = self.rendered_content
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/response.py" in rendered_content
82. template = self.resolve_template(self.template_name)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/response.py" in resolve_template
64. return select_template(template, using=self.using)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/loader.py" in select_template
44. engines = _engine_list(using)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/loader.py" in _engine_list
72. return engines.all() if using is None else [engines[using]]
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/utils.py" in all
89. return [self[alias] for alias in self]
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/utils.py" in getitem
80. engine = engine_cls(params)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/backends/django.py" in init
30. options['libraries'] = self.get_templatetag_libraries(libraries)
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/backends/django.py" in get_templatetag_libraries
48. libraries = get_installed_libraries()
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/backends/django.py" in get_installed_libraries
113. for name in get_package_libraries(pkg):
File "/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/template/backends/django.py" in get_package_libraries
130. "trying to load '%s': %s" % (entry[1], e)
Exception Type: InvalidTemplateLibrary at /
Exception Value: Invalid template library specified. ImportError raised when trying to load 'bootstrap3.templatetags.bootstrap3': cannot import name flatatt
as it to say,which means i can't correctly import some module:
There are two :
ImportError: cannot import name 'Celery'
execute_from_command_line(sys.argv) catch an Exception
i have known the database you deploy is good,can i replace it to use mysql and so on(i do learn some database except yours,sad face!), and how i do next to config.
'utf8' codec can't decode byte 0xca in position 3: invalid continuation byte. You passed in 'E:\\xca\xe9\xbc\xae\python\Django\Django \xcf\xee\xc4\xbf\11\blog-f91fa845daf6d5beba19a0c5982bbe49321b5cd7\blog\templates' (<type 'str'>)
用python3.6,Django1.11.4
pycharm提示
django_compressor
python-memcached
rcssmin
rjsmin
无法安装
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.