Skip to content

View status of Coin's via the admin panel, plus various small changes

Compare
Choose a tag to compare
@Someguy123 Someguy123 released this 24 Mar 17:34
· 92 commits to master since this release
  • Add health function to coin_handlers.base.BaseManager - if children don't implement it,
    it defaults to a list of symbols, with status "Health data not supported".
    Child classes are able to customise the table columns to fit their specific needs.

  • Implemented health method for both SteemEngineManager and BitcoinManager

  • Created a "Coin Handler Health/Status" admin panel view, which lists health/status
    information about each coin in the database, using the health method of it's
    Manager class.

  • Created a "clear caches" view, allowing admin's to clear the Django cache backend. Currently
    only used by the Coin Handler status view.

  • Override Django admin's base_site.html and index.html

    • Changed admin title to CryptoToken Converter Admin
    • Added a custom pages table, with a link to "Coin Handler Health/Status"
  • Extended Django admin site class to add custom URLs

  • Better comments for settings.py, with some general clean-up of the file.