{ "info": { "author": "hellpain", "author_email": "urchenko88@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\ndjango-mymigrate\n=====\n\ndjango-mymigrate is a wrapper on south that allows to quickly migrate all project apps with one command.\n\n- version 0.2\n\n- https://github.com/hellpain/django-mymigrate\n\nInstallation\n-----------\n\npip install south\n\npip install django-mymigrate\n\nIn your settings.py define PROJECT_ROOT as a folder containing all your apps.\n\nfrom os.path import join, normpath, dirname\n\nPROJECT_ROOT = join(normpath(dirname(__file__)), '..')\n\nin django 1.6 better use BASE_DIR which django creates\n\nCommands\n-----------\n\n- ./manage.py mymigrate -i\n\nCreates initial migrations for all apps in project directory.\nIt is equivalent to run \"./manage.py schemamigration app_name --initial\" through all apps in project directory.\n\n- ./manage.py mymigrate -a\n\nCreate auto migrations for all apps in project directory.\nIt is equivalent to run \"./manage.py schemamigration app_name --auto\" through all apps in project directory.\n\n- ./manage.py mymigrate -d\n\nDeletes all migrations on disk and database.\n\nTypical use\n-----------\n\n1) ./manage.py syncdb --all\n\nCreate all tables\n\n2) ./manage.py mymigrate -i\n\nCreates initial migrations for all apps in project directory.\n\n3) ./manage.py migrate --fake\n\nApply fake migrations.\n\n4) Change something in models...\n\n5) ./manage.py mymigrate -a\n\nCreate auto migrations for all apps in project directory.\n\n6) ./manage.py migrate\n\nApply migrations.\n\n7) ./manage.py mymigrate -d\n\n(optional) Delete all migrations on disk and database.\n\nNotes:\n-----------\n\nWhen you created initial migrations using \"./manage.py mymigrate -i\" and then created new app, you should manually run\n\"./manage.py schemamigration new_app_name --initial\" & \"./manage.py migrate new_app_name\" to create and apply initial migrations.\nOnly after that you can use \"./manage.py mymigrate -a\" in future development.\n\nRelease Notes:\n-----------\n- 0.2 Better support for django 1.6", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hellpain/django-mymigrate", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-mymigrate", "package_url": "https://pypi.org/project/django-mymigrate/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mymigrate/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hellpain/django-mymigrate" }, "release_url": "https://pypi.org/project/django-mymigrate/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "django-mymigrate is a wrapper on south that allows to quickly migrate all project apps with one command.", "version": "0.2.0" }, "last_serial": 2242182, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "770714a2a90cede5662097de6f545811", "sha256": "4b52f14d57fbea05ed565e0d6ba9d8fc76eacbf5af244f78c84de5c164fa57ff" }, "downloads": -1, "filename": "django-mymigrate-0.1.tar.gz", "has_sig": false, "md5_digest": "770714a2a90cede5662097de6f545811", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3333, "upload_time": "2013-07-02T12:52:13", "url": "https://files.pythonhosted.org/packages/2e/88/34676b3563b01b3494df6698f9d801fdcd4afa094aab2d9099ff38adef66/django-mymigrate-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c718f0f478c9b7f3694eaa8c39b45c6d", "sha256": "d99ef3fd798b4dcf630ea8fe58b67210d0845da72c1837a9ae35ab4336f27159" }, "downloads": -1, "filename": "django-mymigrate-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c718f0f478c9b7f3694eaa8c39b45c6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3444, "upload_time": "2013-07-03T11:05:39", "url": "https://files.pythonhosted.org/packages/92/c2/ee31739be3cd4e231e5eb9b03aa7cd051107439418285ddd3041a8122a29/django-mymigrate-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3fdaa8442448295596f8c80d3d5f5c28", "sha256": "0335a3c40e83cb3959c1f8df7fc685af5d6b8d04aafe4635fda7d8c9b9959a94" }, "downloads": -1, "filename": "django-mymigrate-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3fdaa8442448295596f8c80d3d5f5c28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3825, "upload_time": "2014-03-16T12:06:01", "url": "https://files.pythonhosted.org/packages/69/b4/267aeab64e6ed22362c5547285331e68e32a5b9114e6fc1396cc57c7103f/django-mymigrate-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3fdaa8442448295596f8c80d3d5f5c28", "sha256": "0335a3c40e83cb3959c1f8df7fc685af5d6b8d04aafe4635fda7d8c9b9959a94" }, "downloads": -1, "filename": "django-mymigrate-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3fdaa8442448295596f8c80d3d5f5c28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3825, "upload_time": "2014-03-16T12:06:01", "url": "https://files.pythonhosted.org/packages/69/b4/267aeab64e6ed22362c5547285331e68e32a5b9114e6fc1396cc57c7103f/django-mymigrate-0.2.0.tar.gz" } ] }