This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf import settings | |
from django.contrib.auth.models import Group | |
from django.contrib.auth.backends import RemoteUserBackend | |
class RemoteExtendedUserBackend(RemoteUserBackend): | |
""" | |
This backend can be used in conjunction with the ``RemoteUserMiddleware`` | |
to handle authentication outside Django and update local user with external information | |
(name, email and groups). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
(function(Form) { | |
/** | |
* BoundingBox editor | |
* | |
*/ | |
Form.editors.BoundingBox = Form.editors.Base.extend({ | |
events: {}, |