Author: sevein
Date: Wed Feb 16 09:33:56 2011
New Revision: 56
Log:
Filter demo site correctly.
Modified:
trunk/chk4upd/views.py
Modified: trunk/chk4upd/views.py
==============================================================================
--- trunk/chk4upd/views.py Wed Feb 16 09:22:09 2011 (r55)
+++ trunk/chk4upd/views.py Wed Feb 16 09:33:56 2011 (r56)
@@ -70,8 +70,8 @@
if 'filter_staff' in request.POST or request.method == 'GET':
filter_staff = True
objects = objects.exclude(
- address__startswith = 'http://www.ica-atom.org').exclude( # Exclude demo
site
- address__startswith = 'http://ica-atom.org').exclude( # Exclude demo
site
+ address__startswith = 'http://www.ica-atom.org/demo').exclude( # Exclude
demo site
+ address__startswith = 'http://ica-atom.org/demo').exclude( # Exclude
demo site
httpmeta_remoteaddr = '70.71.0.109').exclude( # Exclude
known IPs
httpmeta_remoteaddr = '91.121.171.199').exclude( # ...
httpmeta_remoteaddr = '79.148.124.205').exclude(
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.