stormsha / blog Goto Github PK
View Code? Open in Web Editor NEW基于 Django1.11 和 Wordpress 主题开发的个人博客网站
Home Page: https://www.stormsha.com
License: Apache License 2.0
基于 Django1.11 和 Wordpress 主题开发的个人博客网站
Home Page: https://www.stormsha.com
License: Apache License 2.0
这是不是崔庆才博客那个模板
就是我注册成功后 ,然后登陆的时候,网站就会出来Server Error (500)这个错误 而已 之后打开所有的网站 都会出来这个错误
504 Gateway Time-out。 只有一个首页还能访问
E:\blog>python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "D:\python37\lib\site-packages\django\core\management_init_.py", line
364, in execute_from_command_line
utility.execute()
File "D:\python37\lib\site-packages\django\core\management_init_.py", line
338, in execute
django.setup()
File "D:\python37\lib\site-packages\django_init_.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "D:\python37\lib\site-packages\django\apps\registry.py", line 85, in popu
late
app_config = AppConfig.create(entry)
File "D:\python37\lib\site-packages\django\apps\config.py", line 94, in create
module = import_module(entry)
File "D:\python37\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\python37\lib\site-packages\django\contrib\admin_init.py", line 4,
in
from django.contrib.admin.filters import (
File "D:\python37\lib\site-packages\django\contrib\admin\filters.py", line 10,
in
from django.contrib.admin.options import IncorrectLookupParameters
File "D:\python37\lib\site-packages\django\contrib\admin\options.py", line 12,
in
from django.contrib.admin import helpers, widgets
File "D:\python37\lib\site-packages\django\contrib\admin\widgets.py", line 152
'%s=%s' % (k, v) for k, v in params.items(),
^
SyntaxError: Generator expression must be parenthesized
Line 22 in bd97002
应改为
url(r'^category/(?P<bigslug>.*?)/(?P<slug>.*?)/$', IndexView.as_view(template_name='content.html'), name='category'),
本地运行保存完新增文章的时候,报这个错,请问是什么原因呢
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.