From ed451a38f55cdd4619dfd88c2df8d21affe0d422 Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Wed, 29 May 2019 22:27:55 +0200 Subject: [PATCH] Update instructions. --- README.rst | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 0a09940..cffda86 100644 --- a/README.rst +++ b/README.rst @@ -14,6 +14,11 @@ In your settings: :: + INSTALLED_APPS = [ + ..., + 'django_any_js', + ... + ] ANY_JS = { 'DataTables': { 'js_url': '/javascript/jquery-datatables/dataTables.bootstrap4.min.js', @@ -25,5 +30,6 @@ In your template: :: + {% load ... any_js %} {% include_js "DataTables" %} {% include_css "DataTables" %} diff --git a/setup.py b/setup.py index 7468cbf..82febc2 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ MYDIR = os.path.dirname(__file__) setup( name='django-any-js', - version='1.0.3', + version='1.0.3.post0', keywords=['django', 'javascript'], description='Include JavaScript libraries with readable template tags', long_description=open(os.path.join(MYDIR, "README.rst"), -- GitLab