settings.py: Add APPLICATION variable to switch between layerindex
rrs also add context_processors decision layerindex or rrs.
urls.py: Add decision for load urls for layerindex or rrs.
layerindex/context_processors.py: Add application variable for use
templates.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
It's bad form to show the user a Page Not Found on
the first site open, so we redirect to the default
application.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
This should prevent spamming even though this is less likely with this
kind of site.
The CAPTCHA does not show when editing, only submitting, and is also not
shown for authenticated users.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>