Upgrade code for Django 1.9
This commit is contained in:
parent
75b0907dc7
commit
473493542c
5 changed files with 12 additions and 8 deletions
|
|
@ -1,3 +1,5 @@
|
|||
$ = django.jQuery;
|
||||
|
||||
function update_periods(section_id) {
|
||||
if (!section_id) return;
|
||||
$.getJSON('/section/' + section_id + '/periods/', function(data) {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@
|
|||
} catch(er) {}
|
||||
}
|
||||
|
||||
var config = $.cookie = function (key, value, options) {
|
||||
var $ = django.jQuery;
|
||||
var config = $.cookie = function (key, value, options) {
|
||||
|
||||
// write
|
||||
if (value !== undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue