Django app to check tier before deployment.
Django management command to check the tier current instance.
Required the tier setting from localsetting to be in main settings file as TIER=localsettings.tier
- python -Wi manage.py get_tier <TIER_TO_CHECK>
- python -Wi manage.py get_tier staging
will return success if tiers match error code if they do not as well as text.
Install as django app by putting ‘check_tier’ in installed apps.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size check-tier-188.8.131.52.tar.gz (1.6 kB)||File type Source||Python version None||Upload date||Hashes View|