fixed login redirects; add Saved to upload edit

This commit is contained in:
Sanj 2011-07-04 13:57:50 +05:30
parent 5998eaed6e
commit 87bcdd6d9b
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,8 @@ ADMINS = (
# ('Your Name', 'your_email@domain.com'), # ('Your Name', 'your_email@domain.com'),
) )
LOGIN_URL = "/accounts/login/" LOGIN_URL = "/sandbox/account"
LOGIN_REDIRECT_URL = "/sandbox/"
MANAGERS = ADMINS MANAGERS = ADMINS
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.

View File

@ -130,6 +130,7 @@ function fileUploadedCallback(jq, data) {
'description': description 'description': description
}, function(response) { }, function(response) {
$this.removeAttr("disabled"); $this.removeAttr("disabled");
$this.after("<span class='saved'>Saved</span>");
}, },
"json"); "json");
}).appendTo($formContainer); }).appendTo($formContainer);