fixed login redirects; add Saved to upload edit
This commit is contained in:
parent
5998eaed6e
commit
87bcdd6d9b
|
@ -20,7 +20,8 @@ ADMINS = (
|
|||
# ('Your Name', 'your_email@domain.com'),
|
||||
)
|
||||
|
||||
LOGIN_URL = "/accounts/login/"
|
||||
LOGIN_URL = "/sandbox/account"
|
||||
LOGIN_REDIRECT_URL = "/sandbox/"
|
||||
MANAGERS = ADMINS
|
||||
|
||||
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
||||
|
|
|
@ -130,6 +130,7 @@ function fileUploadedCallback(jq, data) {
|
|||
'description': description
|
||||
}, function(response) {
|
||||
$this.removeAttr("disabled");
|
||||
$this.after("<span class='saved'>Saved</span>");
|
||||
},
|
||||
"json");
|
||||
}).appendTo($formContainer);
|
||||
|
|
Loading…
Reference in New Issue
Block a user