{ "info": { "author": "James Pic", "author_email": "jamespic@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django-NextJS\n~~~~~~~~~~~~~\n\nIsomorphic UI Development with Decorator pattern for Django with:\n\n- nextjs out of the box experience for frontend development,\n- rendering of nextjs pages with context in Django with NextJS template engine.\n\nFor fun & profit\n\nRun the example project\n=======================\n\nRun this commands as non root::\n\n git clone https://git.yourlabs.org/oss/djnext\n cd djnext\n pip install --user --editable .[dev]\n yarn install\n djnext djnext # required for yarn dev to run\n yarn dev # run localhost:3000\n djnext dev # run localhost:8000\n\nChoose NextJS page template in Django\n=====================================\n\nExample project lives in src/djnext_example, see ``src/djnext_example/artist/urls.py``::\n\n CreateView.as_view(\n model=Artist,\n fields=['name'],\n success_url=reverse_lazy('artist_list'),\n template_name='create.js',\n )\n\nThe template backend you added will make a request to the nextjs server you\nhave on port 3000 with yarn dev.\n\nDjnext command\n==============\n\nRun your manage.py djnext or yourproject djnext if your project has an entrypoint.\n\nThis will watch static/pages directories of all apps in INSTALLED_APPS, and build\nthe pages/ directory, so that yarn dev will find it.\n\nOn port 8000 we don't yet have auto frontend code reload, but you have it on\nport 3000 with djnext command running at the same time.\n\nInstall in your project\n=======================\n\nAdd to 'djnext' to INSTALLED_APPS, add ``dict(BACKEND='djnext.Backend')`` to TEMPLATES.\n\n.. note:: To have the dev command, add crudlfap to INSTALLED_APPS.\n\nWith LOVE from POITOU CHARENTE\n\n\u221e\n\nCredit\n======\n\nThanks to frontend engineer Thomas Binetruy for participating\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://git.yourlabs.org/oss/djnext", "keywords": "django nextjs", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "djnext", "package_url": "https://pypi.org/project/djnext/", "platform": "", "project_url": "https://pypi.org/project/djnext/", "project_urls": { "Homepage": "https://git.yourlabs.org/oss/djnext" }, "release_url": "https://pypi.org/project/djnext/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Django-NextJS Isomorphic UI dev with Decorator pattern", "version": "0.0.2" }, "last_serial": 3856567, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "904f9ef4b023d1821beb23f19ef91958", "sha256": "8fab0edc862feb9515d7dc424280e2d47c572832c5d0bd2e6f60c55b06c32ad1" }, "downloads": -1, "filename": "djnext-0.0.1.tar.gz", "has_sig": true, "md5_digest": "904f9ef4b023d1821beb23f19ef91958", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4762, "upload_time": "2018-05-12T00:34:40", "url": "https://files.pythonhosted.org/packages/ca/27/21eda74ad38c22f6e8d257e2f978207fde22a0b9a8825cb8c3b308a9030c/djnext-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b6e2424b5ff55c1140211932a2860229", "sha256": "616b65104e2b45c65a051a2b3c34278b77628d037cdff047969bf1455564177c" }, "downloads": -1, "filename": "djnext-0.0.2.tar.gz", "has_sig": true, "md5_digest": "b6e2424b5ff55c1140211932a2860229", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4722, "upload_time": "2018-05-12T12:03:13", "url": "https://files.pythonhosted.org/packages/d7/d2/64ad44a76cffcaf669760ccd945f9d0a20be43253c3d3fd042801072f448/djnext-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b6e2424b5ff55c1140211932a2860229", "sha256": "616b65104e2b45c65a051a2b3c34278b77628d037cdff047969bf1455564177c" }, "downloads": -1, "filename": "djnext-0.0.2.tar.gz", "has_sig": true, "md5_digest": "b6e2424b5ff55c1140211932a2860229", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4722, "upload_time": "2018-05-12T12:03:13", "url": "https://files.pythonhosted.org/packages/d7/d2/64ad44a76cffcaf669760ccd945f9d0a20be43253c3d3fd042801072f448/djnext-0.0.2.tar.gz" } ] }