##// END OF EJS Templates
Bumped version to 1.7.2
Bumped version to 1.7.2

File last commit:

r291:3b113b42 default
r636:56a4a457 1.7.2 default
Show More
maintenance.py
15 lines | 302 B | text/x-python | PythonLexer
"""
Maintenance script for neboard imageboard. Use this to update data after
migrations etc.
"""
from boards.models import Post
from boards import views
def update_posts():
for post in Post.objects.all():
print 'Updating post #' + str(post.id)
post.save()
Post.objects.connect_replies(post)