Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ t: clean $(VIRTUALENV)/bin/py.test
@$(VIRTUALENV)/bin/py.test

$(CURDIR)/example/db.sqlite3: $(VIRTUALENV)
$(VIRTUALENV)/bin/python example/manage.py syncdb --noinput
$(VIRTUALENV)/bin/python example/manage.py migrate --noinput

.PHONY: run
run: $(CURDIR)/example/db.sqlite3
Expand Down
2 changes: 1 addition & 1 deletion django_markdown/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ def preview(request):

return render(
request, settings.MARKDOWN_PREVIEW_TEMPLATE, dict(
content=request.REQUEST.get('data', 'No content posted'),
content=request.POST.get('data', 'No content posted'),
css=settings.MARKDOWN_STYLE
))