Metadata-Version: 2.1
Name: django-dedal
Version: 1.1.0
Summary: Fast CRUD builder.
Home-page: https://github.com/ar4s/django-dedal
Author: Arkadiusz Adamski
Author-email: arkadiusz.adamski@gmail.com
License: BSD
Keywords: django-dedal
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.6
Classifier: Framework :: Django :: 1.7
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: django (<2.2,>=1.8)
Requires-Dist: wheel

=============================
django-dedal
=============================

.. image:: https://img.shields.io/pypi/v/django-dedal.svg?style=flat-square
    :target: https://pypi.python.org/pypi/django-dedal

.. image:: https://img.shields.io/pypi/pyversions/django-dedal.svg?style=flat-square
    :target: https://pypi.python.org/pypi/django-dedal

.. image:: https://img.shields.io/travis/ar4s/django-dedal.svg?style=flat-square
    :target: https://travis-ci.org/ar4s/django-dedal

.. image:: https://img.shields.io/coveralls/ar4s/django-dedal.svg?style=flat-square
    :target: https://coveralls.io/r/ar4s/django-dedal?branch=master

Fast CRUD builder.

Documentation
-------------

The full documentation is at https://django-dedal.readthedocs.org.

Demo
----

Example project is available on http://django-dedal.herokuapp.com/.

Quickstart
----------

Install django-dedal::

    pip install django-dedal

Then use it in a Django project simple add ``dedal`` and ``bootstrapform`` (if you want use bootstrap) to ``INSTALLED_APPS``::

    INSTALLED_APPS = (
        'django.contrib.admin',
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        ...
        'dedal',
        'bootstrapform',
    )

After this decorate your model by ``@crud``::

    from django.db import models

    from dedal.decorators import crud


    @crud
    class Post(models.Model):
        title = models.CharField(max_length=50)
        body = models.TextField()
        comments = models.ManyToManyField('Comment', blank=True)

        def __str__(self):
            return '{}'.format(self.title)

That's all!

TODO
----
* select related




History
-------

1.1.0 (2018-01-11)
++++++++++++++++++
+ add pagination
+ add support for Django 2.x
+ drop support for Django 1.8 and Python 3.4
+ fix CI

1.0.1 (2016-03-30)
++++++++++++++++++
* refactored tests
* fixes heroku example app

1.0.0 (2016-03-26)
++++++++++++++++++

* removed urls.W002 (changed URL for list)
* changed URL format for reverse (introduced namespace)
* dropped support for python 2.x

0.1.0 (2015-05-09)
++++++++++++++++++

* First release on PyPI.


