Skip to content

Commit f22f5fe

Browse files
committed
Rename module
1 parent 1d836fb commit f22f5fe

27 files changed

+21
-18
lines changed

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include LICENSE
22
include README.rst
3-
recursive-include json_editor/static *
4-
recursive-include json_editor/templates *
3+
recursive-include django_admin_json_editor/static *
4+
recursive-include django_admin_json_editor/templates *

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Application adds support for editing JSONField in Django Administration via http
77
Install application via pip:
88

99
```bash
10-
pip install git+https://github.com/abogushov/django-admin-json-editor
10+
pip install django-admin-json-editor
1111
```
1212

1313
Add application to the INSTALLED_APPS settings:
1414

1515
```python
1616
INSTALLED_APPS = [
1717
...
18-
'json_editor',
18+
'django_admin_json_editor',
1919
...
2020
]
2121
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .admin import JSONEditorWidget
22

3-
__version__ = '0.0.1'
3+
__version__ = '0.1.0'

json_editor/admin.py renamed to django_admin_json_editor/admin.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class JSONEditorWidget(forms.Widget):
1010

11-
template_name = 'django_json_editor/django_json_editor.html'
11+
template_name = 'django_admin_json_editor/editor.html'
1212

1313
def __init__(self, schema, collapsed=True):
1414
super().__init__()
@@ -45,12 +45,12 @@ def schema_updater(cls, nested):
4545

4646
class Media:
4747
css = {'all': (
48-
'django_json_editor/bootstrap/css/bootstrap.min.css',
49-
'django_json_editor/fontawesome/css/font-awesome.min.css',
50-
'django_json_editor/style.css',
48+
'django_admin_json_editor/bootstrap/css/bootstrap.min.css',
49+
'django_admin_json_editor/fontawesome/css/font-awesome.min.css',
50+
'django_admin_json_editor/style.css',
5151
)}
5252
js = (
53-
'django_json_editor/jquery/jquery.min.js',
54-
'django_json_editor/bootstrap/js/bootstrap.min.js',
55-
'django_json_editor/jsoneditor/jsoneditor.min.js',
53+
'django_admin_json_editor/jquery/jquery.min.js',
54+
'django_admin_json_editor/bootstrap/js/bootstrap.min.js',
55+
'django_admin_json_editor/jsoneditor/jsoneditor.min.js',
5656
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)