Arachnid / bloggart

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

implement static page deletation support for blog posts and pages #65

Closed ARVINDH-CT06 closed 1 month ago

ARVINDH-CT06 commented 1 month 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.



2. 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.



3. 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. 
  | ReplyForwardAdd reaction -- | --