-1

I have the requirement to execute a git command in a Django migration. I need to clear the contents of a directory via a Django migration because we do not have access to the production server directly. Being new to both Django and git, I have no idea of how this could be achieved. Any help would be highly appreciated. TIA

Venu Saini
  • 427
  • 2
  • 6
  • 19

1 Answers1

0

you can create data migration which will have function to execute logic. second thing required is some python git library to write logic.

navyad
  • 3,752
  • 7
  • 47
  • 88