Skip to main content

django-dedal

https://img.shields.io/pypi/v/django-dedal.svg?style=flat-square https://img.shields.io/pypi/pyversions/django-dedal.svg?style=flat-square https://img.shields.io/travis/ar4s/django-dedal.svg?style=flat-square https://img.shields.io/coveralls/ar4s/django-dedal.svg?style=flat-square

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.

Metadata

Release files for django-dedal 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-dedal 1.1.0
File Size Uploaded Provenance Actions
django-dedal-1.1.0.tar.gz 145.1 kB Without provenance Details for django-dedal-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-dedal 1.1.0
File Interpreter ABI Platform Actions
django_dedal-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_dedal-1.1.0-py2.py3-none-any.whl

Total release size: 289.7 kB

Release files / django-dedal-1.1.0.tar.gz

Download URL django-dedal-1.1.0.tar.gz
Size 145.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6bbf1ce7e043ae075f4cf7b71efe755d672f00452cfaba87af8b6311844a3a3a
BLAKE2b-256 checksum
How to use checksums
4eb0bbc32bf902fcf68449c1830d8e0b773b31e2494a668f9435ed4caa330542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0

Release files / django_dedal-1.1.0-py2.py3-none-any.whl

Download URL django_dedal-1.1.0-py2.py3-none-any.whl
Size 144.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f16394de170d53bb5be64fb44a5b418c6041058a72552f9e7bb746d0e7749111
BLAKE2b-256 checksum
How to use checksums
d85b23ea09a003f3226b93fc0162fd28353522721ed9063626605795ca3566e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.0

Security for django-dedal 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page