|
INSTALL
Requirements
安装
站点参数设置登录后台,在blog app下的"站点设置"表中添加设置项,可用的设置项:
如果你在安装过程中遇到问题,请到http://groups.google.com/group/pylogs 中提出。 | ||||||||||||||
► Sign in to add a comment
|
Search
|
|
INSTALL
Requirements
安装
站点参数设置登录后台,在blog app下的"站点设置"表中添加设置项,可用的设置项:
如果你在安装过程中遇到问题,请到http://groups.google.com/group/pylogs 中提出。 | ||||||||||||||
print "hello"
最好能支持google appengine
最好支持GAE,我准备用你的程序把blog搬到GAE
我在lighttpd下,不知道有哪些地址需要URL_REWRITE,建议写在安装指南里。
最好能支持google appengine
安装试用时发现不能保存日志,错误如下: Warning at /admin/blog/post/add/
Incorrect string value: '\xE6\x96\x87\xE7\xAB\xA0...' for column 'message' at row 1
Request Method: POST Request URL: http://10.0.1.20:82/admin/blog/post/add/ Exception Type: Warning Exception Value:
Incorrect string value: '\xE6\x96\x87\xE7\xAB\xA0...' for column 'message' at row 1
Exception Location: /usr/lib/python2.5/warnings.py in warn_explicit, line 102 Python Executable: /usr/bin/python Python Version: 2.5.4
好象是编码的问题(输入的是英文)
和楼上一样的问题啊,没有人来解决?
in django ver 1.2.0.1, do manage.py syncdb find under errors:
populate load_app port_module SyntaxError?: invalid syntaxand fix this error:change "blog/models.py" line 65 to "class Admin:", syncdb is ok, then manage.py runserver has no errors, bug view "http://localhost:8000" in browser have under errors:
Environment:
Request Method: GET Request URL: http://localhost:8000/ Django Version: 1.2 Python Version: 2.4.3 Installed Applications: ['django.contrib.auth',
Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware?',Template error: In template d:\wwwroot\pylogs\templates\themes\techicon\blog\list.html, error at line 2
Traceback: File "C:\Python24\Lib\site-packages\django\core\handlers\base.py" in get_response
- 0. response = callback(request, callback_args, callback_kwargs)
File "D:\wwwroot\pylogs\blog\views.py" in index File "D:\wwwroot\pylogs\blog\views.py" in renderPaggedPosts File "C:\Python24\Lib\site-packages\django\shortcuts\init.py" in render_to_response File "C:\Python24\Lib\site-packages\django\template\loader.py" in render_to_string- 6. return t.render(context_instance)
File "C:\Python24\Lib\site-packages\django\template\init.py" in render- 3. return self.
render(context) File "C:\Python24\Lib\site-packages\django\template\init.py" in render- 7. return self.nodelist.render(context)
File "C:\Python24\Lib\site-packages\django\template\init.py" in render File "C:\Python24\Lib\site-packages\django\template\debug.py" in render_node File "C:\Python24\Lib\site-packages\django\template\loader_tags.py" in renderException Type: TemplateSyntaxError? at / Exception Value: Caught AttributeError? while rendering: 'ThemeExtendsNode?' object has no attribute 'blocks'
python2.6 出现同样的问题,求解决办法...
换了版本就安装成功了
python2.5 Django-1.0.2-final 目前好像不支持 python2.6 Django-1.2.1
安装失败,就用2.5来安装吧。
不支持2.6么。。。。
请问这是为什么 ?AttributeError? at /admin/ 'AdminSite?' object has no attribute 'root'Request Method: GET Request URL: http://127.0.0.1/admin/ Django Version: 1.3 Exception Type: AttributeError? Exception Value: 'AdminSite?' object has no attribute 'root' Exception Location: D:\Python26\Lib\site-packages\django\pylogs\urls.py in <module>, line 19 Python Executable: D:\Python26\python.exe Python Version: 2.6.0
我也是
pylogs位置 E:\pylogs
C:\>python Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) v.1310 32 bit (Intel)? on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.VERSION (1, 0, 2, 'final', 0) >>> import PIL (PIL1.1.6版无误) >>> >>> import MySQLdb (MySQLdb 无误) >>>
E:\pylogs>python manage.py validate 0 errors found
在mysql中建立一个数据库名为:pylogs
初始化数据库 python E:\pylogs\manage.py syncdb
E:\pylogs>python manage.py runserver Validating models... 0 errors found
Django version 1.0.2 final, using settings 'pylogs.settings Development server is running at http://127.0.0.1:8000/
在浏览器中输入 http://127.0.0.1:8000/
就可以看到结果了。
pylogs非常棒。感谢pylogs开发小组。