Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbundle django-debug-toolbar #3691

Closed
benjaoming opened this issue May 21, 2015 · 0 comments
Closed

Unbundle django-debug-toolbar #3691

benjaoming opened this issue May 21, 2015 · 0 comments

Comments

@benjaoming
Copy link
Contributor

Not sure what version it was in, because they used this "great" way of putting things:

__all__ = ('VERSION',)

try:
    VERSION = __import__('pkg_resources') \
        .get_distribution('django-debug-toolbar').version
except Exception, e:
    VERSION = 'unknown'

It seems to have originally been added back in 2013 to ensure that local_settings could use it... hmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant