Skip to content

Log on web module replacement instead of error#586

Merged
rmorshea merged 4 commits intomainfrom
better-modules
Jan 19, 2022
Merged

Log on web module replacement instead of error#586
rmorshea merged 4 commits intomainfrom
better-modules

Conversation

@rmorshea
Copy link
Copy Markdown
Collaborator

Closes: #584

@Archmonger
Copy link
Copy Markdown
Contributor

From a Django caching perspective, it would be ideal if it only replaced if the file contents are not identical.

@rmorshea
Copy link
Copy Markdown
Collaborator Author

That is what's implemented here. If the file contents differ and replace_existing is False you get an error instead of replacing the files.

@rmorshea rmorshea force-pushed the better-modules branch 2 times, most recently from 054b5ca to 35a1b86 Compare January 19, 2022 02:31
@rmorshea rmorshea changed the title clean up web module from file and template logic Log on web module replacement instead of error Jan 19, 2022
@rmorshea rmorshea merged commit e4aa655 into main Jan 19, 2022
@rmorshea rmorshea deleted the better-modules branch January 19, 2022 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix unhandled case in module_from_template

2 participants