Make the default for API-users be apply_markdown=False

This fixes a regression that was introduced when rebasing the event
system branch.

(imported from commit da575e96ebdb4dbcca3a658a10a0f81628f9317c)
This commit is contained in:
Zev Benjamin
2013-04-02 16:42:51 -04:00
parent 51911d304d
commit c8acdfb228
2 changed files with 2 additions and 2 deletions

View File

@@ -1511,7 +1511,7 @@ def json_report_error(request, user_profile, message=POST, stacktrace=POST,
def json_events_register(request, user_profile):
return events_register_backend(request, user_profile)
@authenticated_api_view
# Does not need to be authenticated because it's called from rest_dispatch
@has_request_variables
def api_events_register(request, user_profile,
apply_markdown=POST(default=False, converter=json_to_bool)):