forked from ierror/django-js-reverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
76 lines (49 loc) · 2.25 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
0.4.5
Fix: If you run your application under a subpath, the collectstatic_js_reverse needs to take care of this.
You can now define a setting JS_REVERSE_SCRIPT_PREFIX that handles this issue.
Thank you lizter for reporting
0.4.4
Improvement: management command collectstatic_js_reverse throws an error if settings.STATIC_ROOT is not set
Tests: exluded a debug print from coverage
Removed: support for django 1.4
New: Templatetag to include js-reverse-js inline in your templates
0.4.3
New: Add better support for django rest framework
Django rest framework generates url names like user-list, so it get's converted now as well so
Urls['user-list']() or the cleaner Urls.user_list() are both usable.
Fix: JSReverseStaticFileSaveTest is working and being tested again
Improvement: Cleanup Javascript
Thank you bulv1ne for the pull request
New: Test support for the latest pypy versions pypy3-2.4.0 and pypy-2.5.0
Fix: Get rid of test warning "MIDDLEWARE_CLASSES is not set." for Django >= 1.7
0.4.2
Provided PyPI wheel Package
0.4.1
Fix: collectstatic runner: moved to own management command collectstatic_js_reverse
0.4.0
Add ability to save in file
<script src="{% static 'django_js_reverse/js/reverse.js' %}"></script>
to do this run ./manage.py collectstatic
Add JS_REVERSE_EXCLUDE_NAMESPACES option
to exclude namespaces from import
default is []
To exclude e.g. admin and Django Debug Toolbar:
::
JS_REVERSE_EXCLUDE_NAMESPACES = ['admin', 'djdt']
Thank you Andertaker
0.3.4
New: Support for nested namespaces. Thank you hyperair
New: Support for arguments within namespace path. Thank you hyperair
New: Support for optional url arguments. Thank you hyperair
0.3.3
New: Django 1.7 support
0.3.2
New: Default minification of the generated javascript file
Fix: content type of the jsreverse script. Thank you @emcsween
Testing: Use selenium for better testing
0.3.1
Added support for namespaces
0.3.0
Test support for pypy, python 3.4, django 1.6
Refactored include of JS_REVERSE_JS_VAR_NAME js var name
Get rid of "DeprecationWarning: The mimetype keyword argument is depracated, use content_type instead"