Double check autocomplete end of token

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the dumb-mistakes-and-gotchas category.

Last Updated: 2024-11-21

Be careful autocompleting that it doesn't give the wrong item and false confidence

 STATICFILES_STORAGE = 'mysite.custom_storages.S3ManifestStorage'
 COLLECTFAST_STRATEGY = "collectfast.strategies.manifest.S3Manifest <Tab>"
 # => this collectfast.strategies.manifest.S3ManifestStorage

But it should have been "S3ManfiestStrategy":

 COLLECTFAST_STRATEGY = "collectfast.strategies.manifest.S3ManifestStrategy"

I could have caught earlier by paying attention to the end of the word after hitting tab too.