
# See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
__version__ = "1.3"


import pkg_resources


__version__ = pkg_resources.require("django-polymorphic")[0].version

Set polymorphic.__version__ from setuptools metadata
Set polymorphic.__version__ from setuptools metadata

  
+ import pkg_resources
- # See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
- __version__ = "1.3"
  
+ 
+ __version__ = pkg_resources.require("django-polymorphic")[0].version
+ 
Set polymorphic.__version__ from setuptools metadata
## Code Before:

# See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
__version__ = "1.3"

## Instruction:
Set polymorphic.__version__ from setuptools metadata
## Code After:

import pkg_resources


__version__ = pkg_resources.require("django-polymorphic")[0].version
