
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
.. image:: https://badge.fury.io/py/django-cruds-mixins.svg :target: https://badge.fury.io/py/django-cruds-mixins
.. image:: https://travis-ci.org/bmihelac/django-cruds-mixins.svg?branch=master :target: https://travis-ci.org/bmihelac/django-cruds-mixins
.. image:: https://codecov.io/gh/bmihelac/django-cruds-mixins/branch/master/graph/badge.svg :target: https://codecov.io/gh/bmihelac/django-cruds-mixins
EXPRERIMENTAL SOFTWARE! Do not use!
django-cruds-mixins integrates several libraries to enable easy, fast and predicatable creation of admin panels and applications.
list, create, update, detail, delete views for your models
customizable tables with orderable columns, pagination and automatic links for ForeignKey fields, easily customizable with django-tables2
search fiters based on model fields with django-filter
permissions creation and integration with django-rules
advanced forms with django-crispy-forms
selections and bulk actions
utils for creating URLconfs, permissions, filtersets, tables
The full documentation is at https://django-cruds-mixins.readthedocs.io.
Install django-cruds-mixins::
pip install django-cruds-mixins
Add django-cruds-mixin and related apps to your INSTALLED_APPS
:
.. code-block:: python
INSTALLED_APPS = (
...
'rules.apps.AutodiscoverRulesConfig',
'crispy_forms',
'django_tables2',
'cruds',
'cruds_mixins',
...
)
Add the django-rules authentication backend for using permissions.
.. code-block:: python
AUTHENTICATION_BACKENDS = (
'rules.permissions.ObjectPermissionBackend',
'django.contrib.auth.backends.ModelBackend',
)
Add django-cruds-mixins's URL patterns:
.. code-block:: python
from cruds_mixins import urls as cruds_mixins_urls
urlpatterns = [
...
url(r'^', include(cruds_mixins_urls)),
...
]
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Tools used in rendering this package:
cookiecutter-djangopackage
_.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _cookiecutter-djangopackage
: https://github.com/pydanny/cookiecutter-djangopackage
FAQs
Fast and predicatable creation of admin panels and applications
We found that django-cruds-mixins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.