Skip to main content

Simple application to manage `what's new` screen.

Project description

Simple application to manage “what’s new” welcome screen based on package version.

How to use

put whatsnew in your INSTALLED_APPS:

INTALLED_APPS=(
    ...
    'whatsnew'
)

modify your base template as

{% load whatsnew %}

<body>
{% whatsnew '<your_main_package_name>' %}

Note

Package must contains valid PEP386 entry in the __init__ of the main module.

How version are checked

  • try to get version number using setuptools
  • check the main package name for ‘version’, ‘VERSION’ or ‘__version__’
  • try to call package.get_version()
  • raise DistributionNotFound

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whatsnew-0.1.tar.gz (18.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page