[pirate-politics] r518 committed - added field indexing definitions for the django.contrib.comments modul...

0 views
Skip to first unread message

pirate-...@googlecode.com

unread,
Jan 18, 2011, 3:03:53 PM1/18/11
to pirate-poli...@googlegroups.com
Revision: 518
Author: fragro
Date: Tue Jan 18 12:02:33 2011
Log: added field indexing definitions for the django.contrib.comments
module, which indexes on a TextField. Any indexing on TextFields must be
overwritten with a GAE settings
http://code.google.com/p/pirate-politics/source/detail?r=518

Added:
/trunk/pirate-politics/gae_comments_settings.py

=======================================
--- /dev/null
+++ /trunk/pirate-politics/gae_comments_settings.py Tue Jan 18 12:02:33 2011
@@ -0,0 +1,5 @@
+from django.contrib.comments import Comment
+
+FIELD_INDEXES = {
+ Comment: {'indexed': ['object_pk']},
+}

Reply all
Reply to author
Forward
0 new messages