.. _about: South について ============== .. About South =========== .. South brings migrations to Django applications. Its main objectives are to provide a simple, stable and database-independent migration layer to prevent all the hassle schema changes over time bring to your Django applications. South は Django アプリケーションにマイグレーション機能を追加します。 Django アプリケーションへの、あのいつもの煩わしいスキーマの変更の手間を抑えるために、 シンプルで安定した、特定のデータベースに依存しないマイグレーション層の提供を主な目的としています。 .. We try to make South both as easy-to-use and intuitive as possible, by making it automate most of your schema-changing tasks, while at the same time providing a powerful set of tools for large or complex projects; you can easily write your own migrations by hand, or even use the database altering API directly. スキーマ変更タスクのほとんどを自動化させることによって、South はできる限り扱いやすくて直感的なものになっています。 また同時に、巨大で複雑なプロジェクトのためのパワフルなツール集も提供しています; 自分でマイグレーションを簡単に書くこともできますし、データベース変更 API を直接使用することもできます。 .. While South started as a relative unknown in the Django database-schema-altering world, it has slowly risen in popularity and is now widely regarded as the most popular schema migration tool for Django. South は Django のデータベーススキーマ変更ツール界隈では、ほとんど無名の状態でスタートしましたが、 徐々に評判が広まり、今や最も人気のある Django のマイグレーションツールとして、広く認知されています。 主な機能 -------- .. Key features ------------ .. South has a few key features: .. - Automatic migration creation: South can see what's changed in your models.py file and automatically write migrations that match your changes. .. - Database independence: As far as possible, South is completely database-agnostic, supporting five different database backends. .. - App-savvy: South knows and works with the concept of Django apps, allowing you to use migrations for some of your apps and leave the rest to carry on using syncdb. .. - VCS-proof: South will notice if someone else commits migrations to the same app as you and they conflict. South の主な機能は: - 自動マイグレーション作成: South は models.py ファイルがどのように変更されたかを監視して、 その変更に沿ったマイグレーションを自動的に作成します。 - 特定のデータベースへの依存性排除: South は特定のデータベースへの依存を可能な限り排除(database-agnostic)し、 5つの異なるデータベースバックエンドに対応しています。 - アプリケーションに精通: South は Django アプリケーションの概念を理解しており、それに沿って動作します。 このため、いくつかのアプリにだけマイグレーションを使い、残りのアプリは今まで通り syncdb を使う、ということも可能です。 - バージョン管理システム対応: 同じアプリケーションのマイグレーションを、誰かがコミットしてコンフリクトが発生した場合でも、 South はきちんとそれを検知することができます。 略歴 ---- .. A brief history --------------- .. South was originally developed at `Torchbox `_ in 2008, when no existing solution provided the workflow and features that were needed. It was open-sourced shortly thereafter, and quickly gained steam after the Schema Evolution panel at DjangoCon 2008. South はそれまで必要とされていたワークフローや機能に対する解決策が全くなかった2008年に、 `Torchbox `_ において開発されたのち、まもなくオープンソース化され、 DjangoCon 2008 における Schema Evolution パネルトークの後に急速に勢いを増していきました。 .. Sometime in 2009, it became the most popular of the various migration alternatives, and seems to have been going strong ever since. While there have been growing calls to integrate South, or something like it, into Django itself, such an integration has not yet been made, mostly due to the relative immaturity of database migration solutions. 2009年ごろには South は Django のマイグレーションツールの中で最も人気のあるものとなり、その人気は現在でも衰えずに高まっています。 South や似たような機能を持つツールを Django に統合してほしい、という要望が高まってきていますが、 主にデータベースのマイグレーションソリューションが比較的未成熟なために、そのような統合は未だに行なわれていない状況です。