Skip to content

Instantly share code, notes, and snippets.

@martinsam
Created August 16, 2016 21:10
Show Gist options
  • Select an option

  • Save martinsam/8db9ad7193c018d13068aa9afc9af170 to your computer and use it in GitHub Desktop.

Select an option

Save martinsam/8db9ad7193c018d13068aa9afc9af170 to your computer and use it in GitHub Desktop.
Call command managment thanks python
from django.core.management import call_command
call_command('update_index',)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment