Added a changelog and include it both from the docs and from the setup.py.

This commit is contained in:
Jannis Leidel 2012-09-21 20:55:26 +02:00
parent 2e2d77f74f
commit c616caf6d6
4 changed files with 35 additions and 5 deletions

25
CHANGES.rst Normal file
View file

@ -0,0 +1,25 @@
.. :changelog:
Changelog
---------
v0.2 (2012-09-21)
^^^^^^^^^^^^^^^^^
- Added optional ``--configuration`` management command option similar
to Django's ``--settings`` option
- Fixed the runserver message about which setting is used to
show the correct class
- Stopped hiding AttributeErrors happening during initialization
of settings classes
- Simplified tests
- Minor documentation fixes
v0.1 (2012-07-21)
^^^^^^^^^^^^^^^^^
- Initial public release

View file

@ -1,4 +1,5 @@
include README.rst
include CHANGES.rst
include .travis.yml
include manage.py
include requirements/tests.txt

View file

@ -89,7 +89,7 @@ should be ``Prod``. In bash that would be::
Alternatively you can use the ``--configuration`` option when using Django
management commands along the lines of Django's default ``--settings``
command line option::
command line option, e.g.::
python manage.py runserver --settings=mysite.settings --configuration=Prod
@ -131,8 +131,10 @@ a Settings class::
DEBUG = False
# ...
Thanks
------
Alternatives
------------
Many thanks to those project that have previously solved these problems:
- The Pinax_ project for spearheading the efforts to extend the Django
project metaphor with reusable project templates and a flexible
@ -152,4 +154,6 @@ requests and bug reports at the usual place:
https://github.com/jezdez/django-configurations/issues
Thanks!
Thanks!
.. include:: ../CHANGES.rst

View file

@ -23,7 +23,7 @@ setup(
version=find_version('configurations', '__init__.py'),
description='A helper for organizing Django project settings by relying '
'on well established programming patterns.',
long_description=read('README.rst'),
long_description=read('README.rst') + u'\n\n' + read('CHANGES.rst'),
author='Jannis Leidel',
author_email='jannis@leidel.info',
license='BSD',