init neu
This commit is contained in:
parent
72cfd367a0
commit
e90a91355a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -31,7 +31,7 @@ SESSION_COOKIE_AGE = 8*60*60
|
||||||
CHANNELS_PRESENCE_MAX_AGE = 30
|
CHANNELS_PRESENCE_MAX_AGE = 30
|
||||||
|
|
||||||
# FOR SUMMERNOTE ORIGIN
|
# FOR SUMMERNOTE ORIGIN
|
||||||
X_FRAME_OPTIONS = 'SAMEORIGIN'
|
X_FRAME_OPTIONS = 'ALLOWALL'
|
||||||
|
|
||||||
# Quick-start development settings - unsuitable for production
|
# Quick-start development settings - unsuitable for production
|
||||||
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
|
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -604,7 +604,7 @@ class RDAoneAddHL(CreateView):
|
||||||
template_name = "recoverdir/rd_elements_forms/rd_area_1_addhl.html"
|
template_name = "recoverdir/rd_elements_forms/rd_area_1_addhl.html"
|
||||||
|
|
||||||
def dispatch(self, *args, **kwargs):
|
def dispatch(self, *args, **kwargs):
|
||||||
if(checkForLogin(self) and self.instance.agency == self.request.user.profile.agency):
|
if(checkForLogin(self)):
|
||||||
return super().dispatch(*args, **kwargs)
|
return super().dispatch(*args, **kwargs)
|
||||||
else:
|
else:
|
||||||
return redirect('recoverdir-login')
|
return redirect('recoverdir-login')
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue