semvec/pypi-packages huggingface dataset:
maykin-django-better-admin-arrayfield 1.0.5
Better ArrayField widget for admin
License: MIT
Keywords: django-better-admin-arrayfield

# Django better admin ArrayField

[![image](https://badge.fury.io/py/django-better-admin-arrayfield.svg)](https://badge.fury.io/py/django-better-admin-arrayfield)

[![image](https://travis-ci.org/maykinmedia/django-better-admin-arrayfield.svg?branch=master)](https://travis-ci.org/maykinmedia/django-better-admin-arrayfield)

[![image](https://codecov.io/gh/maykinmedia/django-better-admin-arrayfield/branch/master/graph/badge.svg)](https://codecov.io/gh/maykinmedia/django-better-admin-arrayfield)

**This is a fork from [gradam/django-better-admin-arrayfield](https://github.com/gradam/django-better-admin-arrayfield)**

Better ArrayField widget for admin

Supported Python versions: 3.5, 3.6, 3.7
Supported Django versions: 1.11, 2.0, 2.1, 2.2

It changes comma separated widget to list based in admin panel.

Before:
![Alt text](https://raw.githubusercontent.com/maykinmedia/django-better-admin-arrayfield/master/readme_images/before.jpg "Before")

After:
![Alt text](https://raw.githubusercontent.com/maykinmedia/django-better-admin-arrayfield/master/readme_images/after.png "After")

## Quickstart

Install Django better admin ArrayField:

    pip install maykin-django-better-admin-arrayfield

Add it to your \`INSTALLED\_APPS\`:

```python
INSTALLED_APPS = (
    ...
    'django_better_admin_arrayfield.apps.DjangoBetterAdminArrayfieldConfig',
    ...
)
```


## Usage

`django_better_admin_arrayfield.models.fields.ArrayField` is a drop-in replacement for standard Django `ArrayField`.

Import it like below and use it in your model class definition.
```python
from django_better_admin_arrayfield.models.fields import ArrayField
```

Import DynamicArrayMixin like below
```python
from django_better_admin_arrayfield.admin.mixins import DynamicArrayMixin
```

In your admin class add `DynamicArrayMixin`:
    ...
```python
class MyModelAdmin(admin.ModelAdmin, DynamicArrayMixin):
```

That's it.

## Running Tests

Does the code actually work?

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

## Pre-commit hooks

Install pre-commit black hook

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install -r requirements_dev.txt
    (myenv) $ pre-commit install

## Credits

https://github.com/gradam for creating the initial package

Inspired by: https://stackoverflow.com/a/49370480/4638248

Tools used in rendering this
    package:

  - [Cookiecutter](https://github.com/audreyr/cookiecutter)
  - [cookiecutter-djangopackage](https://github.com/pydanny/cookiecutter-djangopackage)


# History

## 1.0.4 (2019-09-02)

  - Can add item after removing everything from the list

## 1.0.3 (2019-09-02)

  - Can add item after removing everything from the list
  - Do not call static at startup time

## 1.0.2 (2019-04-03)

  - If field is required empty list raises ValidationError on clean.

## 1.0.1 (2019-02-23)

  - Empty list is no longer recognized as changed.


## 1.0.0 (2019-02-21)

  - First release on PyPI.
pykzee-inspector 0.1.0
Web interface for inspecting the Pykzee state
License: MIT

pykzee-inspector
================

A plug-in for Pykzee that launches a web server, serving a browser application for inspecting the Pykzee state.

Installation
------------

.. code-block:: shell-session

   pip install pykzee-inspector

Then, add this object somewhere in your Pykzee configuration:

.. code-block:: json

   {
     "__plugin__": "pykzee.inspector.InspectorPlugin",
     "port": 8000
   }

Open ``http://localhost:8000`` in a web browser to see the whole Pykzee state.