[Answer]-Django Mezzanine – Don't Overwrite Local Files with collecttemplates

1👍

The command doesn’t currently support this behaviour, but it’s a great idea – I’ve just opened an issue for it here: https://github.com/stephenmcd/mezzanine/issues/1319

Meanwhile, to state the obvious workaround:

  • Copy your project’s templates directory to an external temporary directory
  • Run collecttemplates
  • Copy the external temporary directory back to your project’s templates directory
👤Steve

Leave a comment