Git Product home page Git Product logo

django-evolution's Introduction

================ Django Evolution

An implementation of schema evolution for the Django web framework.

For details on how to use Django Evolution, read the tutorial/instructions contained in docs/evolution.txt.

Most new Django projects may also want to take a look at South (http://south.aeracode.org/), or the features built into Django 1.7.

When you run ./manage.py syncdb, Django will look for any new models that have been defined, and add a database table to represent those new models. However, if you make a change to an existing model, ./manage.py syncdb will not make any changes to the database.

This is where Django Evolution fits in. Django Evolution is an extension to Django that allows you to track changes in your models over time, and to update the database to reflect those changes.

Django Evolution is a work in progress. The interface and usage of Django Evolution is subject to change as we finess the details. If you'd like to help out, check out the source and let us know what you think.

If you have any questions that aren't covered by the FAQ and/or documentation, there is a mailing list where you may be able to get answers.

Using Django Evolution

Django Evolution requires features that are only available in Django v1.4 or higher.

Installation

To install Django Evolution, simply run:

$ easy_install -U django_evolution

You can also check out Django Evolution from the GitHub repository.

Using Django Evolution in your project

  1. Add django_evolution to the INSTALLED_APPS for your project
  2. Run ./manage.py syncdb
  3. Make modifications to the model files in your project
  4. Run ./manage.py evolve --hint --execute

For a detailed description of the capabilities of Django Evolution, please read the FAQ, and/or the documentation

django-evolution's People

Contributors

chipx86 avatar davidt avatar freakboy3742 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.