Metadata-Version: 1.1
Name: django-make-app
Version: 0.1.0.1
Summary: Define models and fields using YAML and generate app for Django with views, forms, templates etc.
Home-page: https://github.com/illagrenan/django-make-app
Author: Vašek Dohnal
Author-email: vaclav.dohnal@gmail.com
License: MIT
Description: ================================================
        Django Make App: *generate Django app from YAML*
        ================================================
        
        .. image:: https://badge.fury.io/py/django_make_app.png
                :target: https://pypi.python.org/pypi/django_make_app
                :alt: PyPi
        
        .. image:: https://img.shields.io/badge/license-MIT-blue.svg
                :target: https://pypi.python.org/pypi/django_make_app/
        
        .. image:: https://api.travis-ci.org/illagrenan/django-make-app.png
                :target: https://travis-ci.org/illagrenan/django-make-app
                :alt: TravisCI
        
        .. image:: https://coveralls.io/repos/github/illagrenan/django-make-app/badge.svg?branch=master
                :target: https://coveralls.io/github/illagrenan/django-make-app?branch=master
                :alt: Coverage
        
        .. image:: https://requires.io/github/illagrenan/django-make-app/requirements.svg?branch=master
             :target: https://requires.io/github/illagrenan/django-make-app/requirements/?branch=master
             :alt: Requirements Status
        
        
        Installation
        ------------
        
        This package is not yet on PyPI. Supported Python versions are: ``2.7``, ``3.3``, ``3.4``, ``3.5`` and ``pypy``.
        
        .. code:: shell
        
            pip install --upgrade git+git://github.com/illagrenan/django-make-app.git#egg=django-make-app
        
        Usage
        -----
        
        If you want to generate app called ``library``, create a file ``library.yaml`` in project's root and define models:
        
        .. code:: yaml
        
            app_name: library # all files will be generated into library/ directory (will be created)
            models:
              - User: # model name
                - name:char # model field "name" of type "char"
                - email:char # model field "email" of type "char"
              - Book: # another model
                - library:fk # model field "library" of type "foreign key" to "library"
              - Library # empty model without fields
        
        You can also print example configuration by:
        
        .. code:: shell
        
            django-make-app write_config
        
        Now execute:
        
        .. code:: shell
        
            django-make-app generate library
        
        Or run this if you need help:
        
        .. code:: shell
        
            django-make-app --help
            django-make-app generate --help
            django-make-app write_config --help
        
        
        This structure will be generated:
        
        .. code::
        
            LIBRARY
            |   admin.py
            |   api.py
            |   apps.py
            |   checks.py
            |   forms.py
            |   models.py
            |   receivers.py
            |   serializers.py
            |   signals.py
            |   urls.py
            |   views.py
            |   __init__.py
            |
            â”œ---management
            |   |   __init__.py
            |   |
            |   â””---commands
            |           library_command.py
            |           __init__.py
            |
            â”œ---migrations
            |       __init__.py
            |
            â”œ---templates
            |   â””---web
            |           book_delete.html
            |           book_detail.html
            |           book_form.html
            |           book_list.html
            |           library_delete.html
            |           library_detail.html
            |           library_form.html
            |           library_list.html
            |           user_delete.html
            |           user_detail.html
            |           user_form.html
            |           user_list.html
            |
            â”œ---templatetags
            |       web_tags.py
            |       __init__.py
            |
            \---tests
                    factories.py
                    test_book.py
                    test_library.py
                    test_user.py
                    __init__.py
        
        
        Inspiration
        -----------
        
        - https://github.com/mmcardle/django_builder
        
        License
        -------
        
        The MIT License (MIT)
        
        Copyright (c) 2016 VaÅ¡ek Dohnal
        
        Permission is hereby granted, free of charge, to any person obtaining a
        copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:
        
        The above copyright notice and this permission notice shall be included
        in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
        OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
        IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
        CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
        TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
        SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
