Fix a bug : post where not updated after edit
This commit is contained in:
parent
3ac4540db4
commit
8966c2f85b
4
views.py
4
views.py
|
@ -404,5 +404,5 @@ def preview(request, blog_id):
|
|||
|
||||
c = {'content' : content}
|
||||
|
||||
# return HttpResponseRedirect('http://' + b.name + '/preview.html')
|
||||
return HttpResponseRedirect('http://' + 'localhost:8080' + '/preview.html')
|
||||
return HttpResponseRedirect('http://' + b.name + '/preview.html')
|
||||
# return HttpResponseRedirect('http://' + 'localhost:8080' + '/preview.html')
|
||||
|
|
Loading…
Reference in New Issue
Block a user