Package: django.js-ng
Django.js provides tools for JavaScript development with Django.Django.js is inspired from:Miguel Araujo’s verbatim snippet.Dimitri Gnidash’s django-js-utils.This is currently a work in progress (API wil not be stable before 1.0) so don’t expect it to be perfect but pleasesubmit an issuefor any bug you find or any feature you want.CompatibilityDjango.js requires Python 3.x and Django 2.x.InstallationYou can install Django.js with pip:$ pip install django.js-ngor with easy_install:$ easy_install django.js-ngAdddjangojsto yoursettings.INSTALLED_APPS.Adddjangojs.urlsto your rootURL_CONF:urlpatterns = patterns('',
    ...
    url(r'^djangojs/', include('djangojs.urls')),
    ...
)DocumentationThe documentation is hostedon Read the DocsChangelogCurrentNothing yet0.8.1 (2013-10-19)Fixed management command with Django < 1.5 (fixissue #23thanks to Wasil Sergejczyk)Fixed Django CMS handling (fixissue #25thanks to Wasil Sergejczyk)Cache Django.js views and addedsettings.JS_CACHE_DURATIONAllow customizable Django.js initializationAllow manual reload of context and URLsPublished Django.js on bower (thanks to Wasil Sergejczyk for the initial bower.json file)Do not automatically translate languages name in context0.8.0 (2013-07-14)Allow features to be disabled with:settings.JS_URLS_ENABLEDsettings.JS_USER_ENABLEDsettings.JS_CONTEXT_ENABLEDAdded context black and white lists (settings.JS_CONTEXTandsettings.JS_CONTEXT_EXCLUDE)Allow context serialization customization by inheritance withsettings.JS_CONTEXT_PROCESSORDo not fail on import when parsing URLs (Fixissue #7thanks to Wasil Sergejczyk)Treat starred non-capturing groups and starred characters as optionnals (Fixissue #22)Upgraded to jQuery 2.0.3 (and added 1.10.2)Upgraded to QUnit 1.12.0Addedjsmanagement command.Extracted URLs handling and context handling into their own modulesFirst contrib module:social_auth(thanks to Olivier Cortès)0.7.6 (2013-06-07)Reintroduce Python 2.6 support (thanks to Andy Freeland)Fixissue #200.7.5 (2013-06-01)Handle Django 1.5+ custom user modelUpgraded to jQuery 2.0.2 and jQuery Migrate 1.2.10.7.4 (2013-05-11)Preserve declaration order in StorageGlobber.glob() (Fixissue #17)Fixes on localization on handling0.7.3 (2013-04-30)Upgraded to jQuery 2.0.0Package both minified and unminified versions.Load minified versions (Django.js, jQuery and jQuery Migrate) when DEBUG=False0.7.2 (2013-04-30)Fixissue #16Declare package as Python 3 compatible on PyPI0.7.1 (2013-04-25)Optionnaly include jQuery with{% django_js_init %}.0.7.0 (2013-04-25)Added RequireJS/AMD helpers and documentationAdded Django Pipeline integration helpers and documentationSupport unnamed URLs resolution.Support custom content types to be passed into the js/javascript script tag (thanks to Travis Jensen)Addedcoffeeandcoffescripttemplate tagsPython 3 compatibility0.6.5 (2013-03-13)Make JsonView reusableUnescape regex characters in URLsFix handling of 0 as parameter for Javasript reverse URLs0.6.4 (2013-03-10)Support namespaces without app_name set.0.6.3 (2013-03-08)Fix CSRF misspelling (thanks to Andy Freeland)Added some client side CSRF helpers (thanks to Andy Freeland)Upgrade to jQuery 1.9.1 and jQuery Migrate 1.1.1Do not clutter url parameters injs,javascriptandjs_libtemplate tags.0.6.2 (2013-02-18)Compatible with Django 1.50.6.1 (2013-02-11)Addedstaticmethod (even if it’s a unused reserved keyword)0.6 (2013-02-09)Added basic user attributes accessAdded permissions supportAddedbooleanscontext processorAdded jQuery 1.9.0 and jQuery Migrate 1.0.0Upgraded QUnit to 1.11.0Added QUnit theme supportAllow to specify jQuery version (1.8.3 and 1.9.0 are bundled)0.5 (2012-12-17)Added namespaced URLs supportUpgraded to Jasmine 1.3.1Refactor testing tools:Renametest/jsintojs/testand reorganize test resourcesRenamedrunner_url*intourl*onJsTestCaseHandleurl_argsandurl_kwargsonJsTestCaseRenamedJasmineMixinintoJasmineSuiteRenamedQUnitMixinintoQUnitSuiteExtracted runners initialization into includable templatesAddedJsFileTestCaseto run tests from a static html file without live serverAddedJsTemplateTestCaseto run tests from a rendered template file without live serverAdded some settings to filter scope:Serialized named URLs whitelist:settings.JS_URLSSerialized named URLs blacklist:settings.JS_URLS_EXCLUDESerialized namespaces whitelist:settings.JS_URLS_NAMESPACESSerialized namespaces blacklist:settings.JS_URLS_NAMESPACES_EXCLUDESerialized translations whitelist:settings.JS_I18N_APPSSerialized translations blacklist:settings.JS_I18N_APPS_EXCLUDEExpose PhantomJS timeout withPhantomJsRunner.timeoutattribute0.4 (2012-12-04)Upgraded to jQuery 1.8.3Upgraded to Jasmine 1.3.0Synchronous URLs and context fetch.Usedjango.utils.termcolorsClass based javascript testing tools:FactorizeJsTestCasecommon behaviourRemovedJsTestCase.run_jasmine()and addedJasmineMixinRemovedJsTestCase.run_qunit()and addedQUnitMixinExtractTapParserintodjangojs.tapOnly one Django.js test suiteEach framework is tested against its own test suiteMake jQuery support optionnal intoJsTestCaseImproved JsTestCase outputDrop Python 2.6 supportAdded API documentation0.3.2 (2012-11-10)Optionnal support for Django Absolute0.3.1 (2012-11-03)Added JsTestView.django_js to optionnaly include django.jsAdded js_init block to runners to templates.0.3 (2012-11-02)Improvedreadyevent handlingRemoved runners fromurls.pyAdded documentationAddedContextJsonViewandDjango.contextfetched from json.Improved error handlingAddedDjangoJsErrorcustom error type0.2 (2012-10-23)Refactor template tag initializationProvides Jasmine and QUnit test views with test discovery (globbing)Provides Jasmine and QUnit test casesAddedDjango.file()Added{% javascript %},{% js %}and{% css %}template tags0.1.3 (2012-10-02)First public releaseProvides django.js withurl()method and constantsProvides{% verbatim %}template tagPatchjQuery.ajax()to handle CSRF tokensLoads the django javascript catalog for all apps supporting itLoads the django javascript i18n/l10n tools in the page