Version 0.4.2 proper

fix_request_path_info
Chris Glass 2013-04-10 14:18:55 +02:00
parent 9b9838116d
commit 7d562511ba
3 changed files with 2 additions and 18 deletions

View File

@ -15,21 +15,6 @@ from showfields import ShowFieldContent, ShowFieldType, ShowFieldTypeAndContent
from showfields import ShowFields, ShowFieldTypes, ShowFieldsAndTypes # import old names for compatibility from showfields import ShowFields, ShowFieldTypes, ShowFieldsAndTypes # import old names for compatibility
"""
See PEP 386 (https://www.python.org/dev/peps/pep-0386/)
Release logic:
1. Remove "dev#" from current (this file, now).
2. git commit
3. git tag <version>
4. push to pypi + push --tags to github
5. bump the version, append ".dev0"
6. git commit
7. push to github
"""
__version__ = "0.4.1"
# Monkey-patch Django < 1.5 to allow ContentTypes for proxy models. # Monkey-patch Django < 1.5 to allow ContentTypes for proxy models.
if django.VERSION[:2] < (1, 5): if django.VERSION[:2] < (1, 5):
from django.contrib.contenttypes.models import ContentTypeManager from django.contrib.contenttypes.models import ContentTypeManager

View File

@ -3,7 +3,7 @@
See PEP 386 (https://www.python.org/dev/peps/pep-0386/) See PEP 386 (https://www.python.org/dev/peps/pep-0386/)
Release logic: Release logic:
1. Remove "dev#" from current (this file, now). 1. Remove "dev#" from current (this file, now AND setup.py!).
2. git commit 2. git commit
3. git tag <version> 3. git tag <version>
4. push to pypi + push --tags to github 4. push to pypi + push --tags to github

View File

@ -1,9 +1,8 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
import polymorphic
setup( setup(
name = 'django_polymorphic', name = 'django_polymorphic',
version = polymorphic.__version__, version ="0.4.2", # You must ALSO bump polymorphic.__version__ !
description = 'Seamless Polymorphic Inheritance for Django Models', description = 'Seamless Polymorphic Inheritance for Django Models',
url = 'https://github.com/chrisglass/django_polymorphic', url = 'https://github.com/chrisglass/django_polymorphic',