Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Removed unused view
Browse files Browse the repository at this point in the history
  • Loading branch information
msinovcic committed Jul 15, 2015
1 parent 245ca0d commit 767928b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions oneplus/learn_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,18 +973,6 @@ def post():
return resolve_http_method(request, [get, post])


@oneplus_state_required
@oneplus_login_required
def discuss(request, state, user):
def get():
return render(request, "auth/discuss.html", {"state": state})

def post():
return render(request, "auth/discuss.html", {"state": state})

return resolve_http_method(request, [get, post])


@oneplus_state_required
@oneplus_login_required
def event_splash_page(request, state, user):
Expand Down
1 change: 0 additions & 1 deletion oneplus/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
url(r"^event$", oneplus.learn_views.event, name="learn.event"),
url(r"^event_right$", oneplus.learn_views.event_right, name="learn.event_right"),
url(r"^event_wrong$", oneplus.learn_views.event_wrong, name="learn.event_wrong"),
url(r"^discuss$", oneplus.learn_views.discuss, name="learn.discuss"),
url(r"^preview/(?P<questionid>\d+)$",
oneplus.learn_views.adminpreview,
name="learn.preview"),
Expand Down

0 comments on commit 767928b

Please sign in to comment.