Replace __version__.py with __init__.py

Also fixes reporting in sentry.
fix_request_path_info
Diederik van der Boor 2015-12-28 17:02:00 +01:00
parent 5191b6c130
commit 9e2c11beb8
3 changed files with 3 additions and 6 deletions

View File

@ -6,6 +6,8 @@ Copyright:
This code and affiliated files are (C) by Bert Constantin and individual contributors. This code and affiliated files are (C) by Bert Constantin and individual contributors.
Please see LICENSE and AUTHORS for more information. Please see LICENSE and AUTHORS for more information.
""" """
# See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
__version__ = "0.8"
# Monkey-patch Django < 1.5 to allow ContentTypes for proxy models. # Monkey-patch Django < 1.5 to allow ContentTypes for proxy models.

View File

@ -1,5 +0,0 @@
# -*- coding: utf-8 -*-
"""
See PEP 440 (https://www.python.org/dev/peps/pep-0440/)
"""
__version__ = "0.7.2"

View File

@ -22,7 +22,7 @@ def find_version(*parts):
setup( setup(
name = 'django_polymorphic', name = 'django_polymorphic',
version = find_version('polymorphic', '__version__.py'), version = find_version('polymorphic', '__init__.py'),
license = 'BSD', license = 'BSD',
description = 'Seamless Polymorphic Inheritance for Django Models', description = 'Seamless Polymorphic Inheritance for Django Models',