-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add __version__ and __file__ variable #5
Comments
@flskillcorner do you think such version documentation would be good (class attribute):
or would it be better to do it this way (package attribute):
|
@jpatacz |
And what about file variable ? |
What I saw for file : each import of module should have a file attribute, but not object attached to module, neither instances In [66]: xml_serializer.file In [67]: from django.core.serializers.xml_serializer import settings In [68]: settings.fileAttributeError Traceback (most recent call last) ~/envi/base37/lib/python3.7/site-packages/django/conf/init.py in getattr(self, name) AttributeError: 'Settings' object has no attribute 'file'` |
version and file variable will add some more information about the package within the code.
The text was updated successfully, but these errors were encountered: