Metadata-Version: 2.1
Name: django-standalone-setup
Version: 2020.12.3
Summary: call django.setup() for standalone usage
Home-page: https://github.com/andrewp-as-is/django-standalone-setup.py
License: Unlicense
Description: <!--
        https://readme42.com
        -->
        
        
        [![](https://img.shields.io/pypi/v/django-standalone-setup.svg?maxAge=3600)](https://pypi.org/project/django-standalone-setup/)
        [![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
        
        ### Installation
        ```bash
        $ [sudo] pip install django-standalone-setup
        ```
        
        #### Features
        calls `django.setup` once only
        
        #### Config
        ```bash
        $ export DJANGO_SETTINGS_MOULE='django_settings'
        ```
        
        `site-package/django_settings.py`
        ```python
        INSTALLED_APPS = [
            'your_app',
        ]
        DATABASES = {
            'default': {
                ...
            }
        }
        ```
        
        #### Examples
        `script.py`
        ```python
        # !/usr/bin/env python
        import django_standalone_setup # at the top of module
        ...
        ```
        
        <p align="center">
            <a href="https://readme42.com/">readme42.com</a>
        </p>
Keywords: django standalone
Platform: UNKNOWN
Classifier: Framework :: Django
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
