Commits

ghorvath  committed 62f8b07

add rebuild index

  • Participants
  • Parent commits 0b3ca31

Comments (0)

Files changed (1)

     manage_django('update_index')
 
 @task(task_class=CustomTask)
+def updateindex():
+    "rebuilds the complete haystack search index"
+    manage_django('rebuild_index')
+
+@task(task_class=CustomTask)
 def restart():
     "restarts the apache django daemon"
     with env.cd(env.directory):