Arachnid / bloggart

A blog application for App Engine
http://bloggart-demo.appspot.com/
287 stars 78 forks source link

Implement Static Page Deletion Support for Blog Posts and Pages #69

Open ARVINDH-CT06 opened 2 weeks ago

ARVINDH-CT06 commented 2 weeks ago

This pull request introduces the following changes to support the deletion of static pages associated with blog posts and other content:

  1. Static Content Deletion:

Implemented the remove method in the BlogPost class to delete static files using the static.delete method.

Ensured that the cached content is cleared from memcache upon deletion.

  1. Generator Integration:

Enhanced the dependency handling in the remove method to invoke the appropriate generator classes for deleting content when the associated blog post or page is removed.

  1. Testing and Validation:

Conducted tests to confirm that static files are deleted as expected and that there are no leftover cached entries in memcache.

This addition improves the overall functionality of the blogging system by allowing for the proper cleanup of static resources, enhancing resource management and maintaining system integrity.