UseCase: I periodically check all questions on my Q&A site and fix tags. But this put questions on the top (update their timestamp). How to prevent this?

asked 27 Jun '11, 14:59

Shrike's gravatar image

Shrike
37691522
accept rate: 33%


Every update of a node is stored in a separate revision, even if you change a simple tag. To do the trick the activate_revision method of the Node model had to be updated.

This feature has been implemented and is now available in the latest trunk version: http://svn.osqa.net/changelog/OSQA/?cs=1083

link

answered 29 Jun '11, 06:38

Jordan's gravatar image

Jordan ♦♦
3.1k618
accept rate: 38%

thanks, works perfectly!

(29 Jun '11, 19:51) Shrike

@Jordan, after I took the last trunk version yesterday I start getting an error on accessing any user profile: ..skipped..

File "C:\\Python26\\lib\\site-packages\\django-1.2.4-py2.6.egg\\django\\template\\__init__.py", line 282, in parse  
  compiled_result = compile_func(self, token)  
File "C:\\Python26\\lib\\site-packages\\django-1.2.4-py2.6.egg\\django\\template\\defaulttags.py", line 1040, in spaceless  
  nodelist = parser.parse(('endspaceless',))  
File "C:\\Python26\\lib\\site-packages\\django-1.2.4-py2.6.egg\\django\\template\\__init__.py", line 282, in parse  
  compiled_result = compile_func(self, token)  
File "C:\\Python26\\lib\\site-packages\\django-1.2.4-py2.6.egg\\django\\templatetags\\i18n.py", line 257, in do_block_translate  
  raise TemplateSyntaxError("'blocktrans' doesn't allow other block tags inside it")  
TemplateSyntaxError: 'blocktrans' doesn't allow other block tags inside it
(30 Jun '11, 04:40) Shrike

Any ideas?

(04 Jul '11, 13:20) Shrike

I believe jordan already fixed that.

(04 Jul '11, 14:17) Hernani Cerq... ♦♦

ok, thank.

(04 Jul '11, 18:18) Shrike
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×144
×3

Asked: 27 Jun '11, 14:59

Seen: 358 times

Last updated: 04 Jul '11, 18:18

powered by OSQA