Skip to content

Commit 83d2174

Browse files
committed
make it only GET
1 parent 3eabaae commit 83d2174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

users/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def map_view():
6464
return render_template('html/index.html', **context)
6565

6666

67-
@APP.route('/users.json', methods=['GET', 'POST'])
67+
@APP.route('/users.json', methods=['GET'])
6868
def users_view():
6969
"""Return a json document of users who have registered."""
7070
# Create model user

0 commit comments

Comments
 (0)