Skip to content

Commit

Permalink
Release 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
spectras committed Dec 19, 2014
1 parent 5890d28 commit 57631dc
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
15 changes: 9 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ unobtrusive, efficient and reliable. On the technical side, it uses an automatic
created `Translations Model` to store translatable fields in arbitrary
languages with a foreign key to the main model, enabling fast queries.

Started in 2011, hvad has grown mature and is now used on large scale applications.

Quick links:

- `Documentation`_.
Expand All @@ -23,18 +25,19 @@ Features
* **Fast** - no additional queries for reads, just an inner join to an indexed key.
* **Complete** - supports relationships, custom managers, proxy models, and abstract models.
* **Batteries included** - translation-enabled forms and admin are provided.
* **Reliable** - more than 250 test cases and counting. |coverage| |build|
* **Compatible** with Django 1.4 to 1.7, running Python 2.6+ or 3.3+.
* **Reliable** - more than 270 test cases and counting. |coverage| |build|
* **Compatible** with Django 1.4 to 1.7, running Python 2.7, 3.3 or 3.4.

Releases
--------

Starting from v0.4, django-hvad uses the same release pattern as Django. The
following versions are thus available:
Django-hvad uses the same release pattern as Django. The following versions
are thus available:

* Stable branch 0.4, available through `PyPI`_ and git branch ``releases/0.4.x``.
* Stable branch 0.5, available through `PyPI`_ and git branch ``releases/0.5.x``.
* Development branch 0.6, available through git branch ``master``.
* Stable branch 1.0, available through `PyPI`_ and git branch ``releases/1.0.x``.
* Development branch 1.1, available through git branch ``master``.

Stable branches have minor bugfix releases as needed, with guaranteed compatibility.
See the `installation guide`_ for details, or have a look at the `release notes`_.
Expand All @@ -45,7 +48,7 @@ Example Use
Book.objects.all()

Compatible by default: returns all objects, without any translated fields attached.
Starting from v0.6, default behavior can be overriden to work like next query:
Starting from v1.0, default behavior can be overriden to work like next query:

Book.objects.language().all()

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
# built documents.
#
# The short X.Y version.
version = '0.6.0'
version = '1.0.0'
# The full version, including alpha/beta/rc tags.
release = '0.6.0'
release = '1.0.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
19 changes: 8 additions & 11 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,22 @@ database using the Django ORM.
Before you dive into this
*************************

Please note that this documentation assumes that you are very familiar with
Please note that this documentation assumes that you are familiar with
Django and Python, if you are not, please familiarize yourself with those first.

While django-hvad tries to be as simple to use as possible, it's still
recommended that you only use it if you consider yourself to be very strong in
Python and Django.

************************
Notes on Django versions
************************

django-hvad is tested on the following configurations:
django-hvad 1.0 is tested on the following configurations:

- Django 1.3.7, running Python 2.6 or 2.7.
- Django 1.4.15, running Python 2.6 or 2.7.
- Django 1.5.10, running Python 2.6, 2.7 or 3.3.
- Django 1.6.7, running Python 2.7 or 3.3.
- Django 1.7.0, running Python 2.7, 3.3 or 3.4.
- Django 1.4.16, running Python 2.7.
- Django 1.5.11, running Python 2.7 or 3.3.
- Django 1.6.8, running Python 2.7 or 3.3.
- Django 1.7.1, running Python 2.7, 3.3 or 3.4.

All tests are run against SQlite3 and PostgreSQL.
Python 2.7 tests are run against MySQL as well.

***************
Contents
Expand Down
5 changes: 2 additions & 3 deletions docs/public/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ Installation
Requirements
************

* `Django`_ 1.3 or higher. Django 1.6 or higher is recommended.
* Python 2.6 or a higher release of Python 2.x or PyPy 1.5 or higher, Python 3.3 or higher.
* For Python 2.6 you need `argparse`_
* `Django`_ 1.4 or higher. Django 1.6 or higher is recommended.
* Python 2.7 or PyPy 1.5 or higher, Python 3.3 or higher.

************
Installation
Expand Down
13 changes: 7 additions & 6 deletions docs/public/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
Release Notes
#############

.. release 0.6.0
.. release 1.0.0
*****************************
0.6.0 - upcoming release
1.0.0 - current release
*****************************

.. note:: This version is being developed. If you feel like helping, or want the
very latest feature, you can install it from the `github repository`_.
Otherwise, please get a `packaged release`_ instead.
Released on December 19, 2014

Python and Django versions supported:

Expand All @@ -36,6 +34,9 @@ New features:
:meth:`~django.db.models.query.QuerySet.extra` is now supported. — :issue:`207`.
- It is now possible to use :ref:`TranslationQueryset <TranslationQueryset-public>`
as default queryset for translatable models. — :issue:`207`.
- A lot of tests have been added, hvad now has 100% coverage on its core modules.
Miscellaneous glitches found in this process were fixed.
- Added MySQL to tested database backends on Python 2.7.

Compatibility warnings:

Expand Down Expand Up @@ -64,7 +65,7 @@ Fixes:
.. release 0.5.2
*****************************
0.5.2 - current release
0.5.2
*****************************

Released on November 8, 2014
Expand Down
4 changes: 2 additions & 2 deletions hvad/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.6.0'
VERSION = (0, 6, 0)
__version__ = '1.0.0'
VERSION = (1, 0, 0)
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
zip_safe=False,
include_package_data = True,
install_requires=[
'Django>=1.3',
'Django>=1.4',
],
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Database",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Text Processing :: Linguistic",
]
)

0 comments on commit 57631dc

Please sign in to comment.