revert remove csrf token, get add/coin working again - refactored due to testing ...
This commit is contained in:
parent
c7fe33d438
commit
60253d2aeb
@ -340,7 +340,7 @@ $(document).ready(function() {
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: 'add/coin',
|
||||
url: 'add/coin/' + String(country) + '/' + String(year) + '/' + String(value),
|
||||
data: data,
|
||||
dataType: 'json',
|
||||
td: td,
|
||||
|
@ -21,6 +21,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<label for="login_name">Name</label>
|
||||
<input type="text" name="username" id="login_name" class="form-control">
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user