Skip to content

Commit

Permalink
Up
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin committed Oct 12, 2024
1 parent 1ebb982 commit 2b19ed3
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# django-admin-hstore-widget
# django-hstore-widget-2

FormField that properly render HStoreField Data in django Admin based on [`djangoauts package`](https://github.com/djangonauts/django-hstore) and updated fork of [`django-admin-hstore-widget`](https://github.com/PokaInc/django-admin-hstore-widget)

Expand All @@ -10,7 +10,7 @@ FormField that properly render HStoreField Data in django Admin based on [`djang
Using pip:

```bash
pip install django-admin-hstore-widget-2
pip install django-hstore-widget
```

## Installation
Expand All @@ -21,7 +21,7 @@ pip install django-admin-hstore-widget-2

INSTALLED_APPS = [
...,
'django_admin_hstore_widget',
'django_hstore_widget',
...
]

Expand Down

This file was deleted.

File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load static %}

<script type="module" src='{% static 'admin/js/django_admin_hstore_widget/django-hstore-widget.esm.js' %}'></script>
<script type="module" src='{% static 'admin/js/django_hstore_widget/django-hstore-widget.esm.js' %}'></script>


<django-hstore-widget style='width:100%' field_name="{{ field_name }}" json="{{ field_data }}" />
File renamed without changes.
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "django-hstore-widget-2"
name = "django-hstore-widget"
version = "0.0.1"
description = "Continual of django-admin-hstore-widget"
description = "Human friendly HStoreWidget. Continual of django-admin-hstore-widget."
authors = ["baseplate-admin <[email protected]>"]
readme = "README.md"
license = "MIT"
Expand All @@ -18,6 +18,8 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -28,7 +30,7 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">3.8"
python = ">3.6"
django = "*"


Expand Down
4 changes: 2 additions & 2 deletions scripts/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
DIST_DIR = Path(BASE_DIR.parent, "dist", "django-hstore-widget")
TARGET_DIR = Path(
BASE_DIR.parent,
"django_admin_hstore_widget",
"django_hstore_widget",
"static",
"admin",
"js",
"django_admin_hstore_widget",
"django_hstore_widget",
)

shutil.rmtree(TARGET_DIR)
Expand Down

0 comments on commit 2b19ed3

Please sign in to comment.