Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatability with django 1.9 #68

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
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
))