Skip to content

Commit

Permalink
Preparing for release to PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-brenot committed Mar 26, 2022
1 parent 617f5aa commit b1d3c0c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,28 @@ admin.py
admin.site.register(TopLevel, TopLevelAdmin)


Minifying Javascript
--------------------

Released versions of this library should have a minified version of the js.

Minification is done with uglifyjs. If npm is installed on your system,
you can install uglifyjs with the command:
```sh
npm install -g uglify-js
```

Then change to the directory where the file 'inlines-nested.js' and
run the following command:
```sh
uglifyjs --compress --mangle --output ./inlines-nested.min.js -- inlines-nested.js
```

Changelist
----------

0.4.5 - Support django 4.0 and django-csp

0.4.4 - Add formset:added and formset:removed events (#97)

0.4.3 - Update media so it expects to find jquery in the right place. (#75)
Expand Down
2 changes: 1 addition & 1 deletion nested_inline/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = (0, 4, 4)
__version__ = (0, 4, 5)
2 changes: 1 addition & 1 deletion nested_inline/static/admin/js/inlines-nested.min.js

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

0 comments on commit b1d3c0c

Please sign in to comment.