Anyone use mod_security with Django?

2011-08-18 Thread KC LEE
Hi, I am running a website built with Django. For security, I am going to install mod_security on my web server. Anyone use mod_security with Django? Is mod_security useful? I heard that Django can defend many attacks (like csrf, XSS, SQL Injection... and so on...) -- You received this m

Django admin site and DEBUG flag.

2011-08-18 Thread KC LEE
When I set DEBUG flag true, Django admin site works fine. But when I change it to false, it throws me the page not found in Django admin site (except main page of admin site, Groups page, and Users page) Anyone help? -- You received this message because you are subscribed to the Google Groups

Re: Django admin site and DEBUG flag.

2011-08-19 Thread KC LEE
#x27;django.contrib.auth.views.password_reset'), (r'^password_forgot/done/$', 'django.contrib.auth.views.password_reset_done'), (r'^password_reset/(?P[0-9A-Za-z]+)/(?P.+)/$', 'django.contrib.auth.views.password_reset_confirm'), (r'^password_reset/done/$', 'django.contrib.auth.

Re: Django admin site and DEBUG flag.

2011-08-19 Thread KC LEE
My problem is identical to this, https://groups.google.com/group/django-users/browse_thread/thread/62af38b39713f5e7/279df4fba31fd292 On Aug 19, 5:27 pm, KC LEE wrote: > My urls.py looks like this, > > # -*- coding: utf-8 -*- > > from django.conf.urls.defaults import * > from