SAEspot » saespot (43)

SAE现在传图片为什么总是500???

By pannide007 at 2013-11-30 20:35:45

SAE现在传图片为什么总是500???
不管什么类型,希望能得到解答!

5 回复 | 直到 2013-12-15 15:35:45
hxy at 2013-12-02 22:20:49
1
jiang1984 at 2013-12-08 16:34:48
2

@hxy
admin.py在哪里

jiang1984 at 2013-12-08 17:17:45
3

@hxy 代码在view.py找到了,但修改后无法访问,出现下面的错误

Traceback (most recent call last):
File "/data1/www/htdocs/239/srrsh/1/index.wsgi", line 5, in
from view import urls as view_url
File "/data1/www/htdocs/239/srrsh/1/view.py", line 24
bucket = Bucket(domain_name)
^
IndentationError: expected an indented block

pannide007 at 2013-12-15 15:35:32
4

@jiang1984 缩进错误
看看上面用的是空格还是tab,弄成一致的

pannide007 at 2013-12-15 15:35:45
5

@hxy 谢谢您了!