django-migration-scripts


Namedjango-migration-scripts JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/harshatba/django-migration-scripts/
SummaryAdd migration scripts seamlessly
upload_time2020-09-16 18:10:36
maintainer
docs_urlNone
authorHarsha Tanguturi
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
PyPI: https://pypi.org/project/django-migration-scripts

### Installation

```bash
pip install django_migration_scripts
```

### Usage

Add to INSTALLED_APPS in settings.py

```python
INSTALLED_APPS = [
######,

'django_migration_scripts',

#####
]
```

Then run the script from shell

```python
python manage.py addscript <app_name>
```

This adds a script in the app in the <app>/scripts folder. Add your script there

### Running the script

```python
python manage.py runscripts
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/harshatba/django-migration-scripts/",
    "name": "django-migration-scripts",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Harsha Tanguturi",
    "author_email": "harshatba@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0b/cb/eaf67e465518461dc0fa38745be3de4c2c3cfcdc3321c299ad89c71314cf/django-migration-scripts-0.1.2.tar.gz",
    "platform": "",
    "description": "\nPyPI: https://pypi.org/project/django-migration-scripts\n\n### Installation\n\n```bash\npip install django_migration_scripts\n```\n\n### Usage\n\nAdd to INSTALLED_APPS in settings.py\n\n```python\nINSTALLED_APPS = [\n######,\n\n'django_migration_scripts',\n\n#####\n]\n```\n\nThen run the script from shell\n\n```python\npython manage.py addscript <app_name>\n```\n\nThis adds a script in the app in the <app>/scripts folder. Add your script there\n\n### Running the script\n\n```python\npython manage.py runscripts\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Add migration scripts seamlessly",
    "version": "0.1.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "5fae934cb0a9620f6e9cb7ab7a26ee1e",
                "sha256": "60933d60b5da8fc952a8054cfb72bc94ef7c10c292f02cccef008dad1c7e0222"
            },
            "downloads": -1,
            "filename": "django_migration_scripts-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5fae934cb0a9620f6e9cb7ab7a26ee1e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5220,
            "upload_time": "2020-09-16T18:10:34",
            "upload_time_iso_8601": "2020-09-16T18:10:34.437512Z",
            "url": "https://files.pythonhosted.org/packages/4d/ad/6dd93028b86c76a2cf8c1aa8dc7dfa1d70e44c140bd5516b02e31e5d0bee/django_migration_scripts-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a8b783651f2ba9558f5d0b7dc1a049b6",
                "sha256": "3dd78247a547b554c0050e59defa9eca03c4b6ca5a661a8ca96637e7a9a8e066"
            },
            "downloads": -1,
            "filename": "django-migration-scripts-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a8b783651f2ba9558f5d0b7dc1a049b6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1936,
            "upload_time": "2020-09-16T18:10:36",
            "upload_time_iso_8601": "2020-09-16T18:10:36.686061Z",
            "url": "https://files.pythonhosted.org/packages/0b/cb/eaf67e465518461dc0fa38745be3de4c2c3cfcdc3321c299ad89c71314cf/django-migration-scripts-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-09-16 18:10:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "harshatba",
    "error": "Could not fetch GitHub repository",
    "lcname": "django-migration-scripts"
}
        
Elapsed time: 0.18745s