wuxianglong / geekblog Goto Github PK
View Code? Open in Web Editor NEWA full blog system based on Django
Home Page: http://blog.1saying.com
License: Other
A full blog system based on Django
Home Page: http://blog.1saying.com
License: Other
您好,最近我跟着你的Geekblog学习Django,遇到这个问题,是因为数据库里没数据,还是哪儿出错了,求指教。。。
图片无法上传。。。问题是:控制台首页 左边的leftnav 空白。。也无法创建、管理blog。。
root@iZ28qpk121oZ:/www/GeekBlog/blog/geekblog# python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 128, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/www/GeekBlog/blog/geekblog/geekblog/settings.py", line 69, in
_load_config('blog', [os.path.join(SITE_ROOT, "geekblog.cfg")])
File "/www/GeekBlog/blog/geekblog/geekblog/settings.py", line 46, in _load_config
DEBUG = cp.getboolean(section, 'debug')
File "/www/GeekBlog/blog/geekblog/geekblog/utils.py", line 86, in getboolean
raise err
ConfigParser.NoSectionError: No section: 'blog'
你的域名,阿里云的,没有备案,现在浏览不了了
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.