git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates to gilbert for django 1.3
[philo.git]
/
contrib
/
gilbert
/
plugins
/
auth.py
diff --git
a/contrib/gilbert/plugins/auth.py
b/contrib/gilbert/plugins/auth.py
index
66cfebc
..
d0c514b
100644
(file)
--- a/
contrib/gilbert/plugins/auth.py
+++ b/
contrib/gilbert/plugins/auth.py
@@
-1,6
+1,6
@@
+from django.conf import settings
from django.contrib.auth import logout
from django.contrib.auth.forms import PasswordChangeForm
from django.contrib.auth import logout
from django.contrib.auth.forms import PasswordChangeForm
-import staticmedia
from .base import Plugin
from ..extdirect import ext_action, ext_method
from ..models import UserPreferences
from .base import Plugin
from ..extdirect import ext_action, ext_method
from ..models import UserPreferences
@@
-11,7
+11,7
@@
class Auth(Plugin):
@property
def index_js_urls(self):
return super(Auth, self).index_js_urls + [
@property
def index_js_urls(self):
return super(Auth, self).index_js_urls + [
- s
taticmedia.url('gilbert/plugins/auth.js')
,
+ s
ettings.STATIC_URL + 'gilbert/plugins/auth.js'
,
]
@property
]
@property