aboutsummaryrefslogtreecommitdiffstats
path: root/urls.py
AgeCommit message (Collapse)Author
2018-05-04layerindex: Add support for rrs in settings.py and urls.pyPaul Eggleton
Add RRS-specific settings and bring in RRS. Based on work by Aníbal Limón <anibal.limon@linux.intel.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-04-24urls*: Use new urlpatterns list syntaxPaul Eggleton
The patterns() function is deprecated in Django 1.8 and gone in 1.10, so we should switch over to the new list format. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-09-20Fixes for django-registration 2.xPaul Eggleton
* Newer django-registration doesn't need the workaround URLs * We need to rename password_reset_email.html to .txt Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-09-20Fix for changes to auth views in Django 1.6Paul Eggleton
Part of this change is temporary for django-registration 1.0; later versions probably won't require the workaround URLs. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-12Explicitly specify temporary redirectionPaul Eggleton
Django 1.8 warns that the default for the "permanent" parameter to RedirectView is changing in 1.9 from True to False, but I believe we should be specifying False for these redirections - these are not just redirections from old URLs and may in fact change in the future if the site structure changes. Part of the implementation for [YOCTO #9620]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-12Upgrade to Django 1.6+Paul Eggleton
I'd like to be upgrading to 1.8 but that causes problems with South, and we're not quite ready to dispense with our existing migrations yet. Part of the implementation for [YOCTO #9620]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27Fix CSRF validation errors in password reset formsPaul Eggleton
Thanks to Michael Halstead <michael@yoctoproject.org> for this fix. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-08Redirects unknown URLs to the default applicationAlexandru DAMIAN
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>
2013-03-06Add catchall 404 URL if nothing else matchesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-28Add CAPTCHA to submission formPaul Eggleton
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>
2013-02-13Initial commit of layerindex-webPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>