{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "# django-ajax-comments-xtd\nAn addon app to https://github.com/danirus/django-comments-xtd that makes comments submittable via ajax\n\n# Installation\n\n1. Install from PYPI:\n\n```pip install django-ajax-comments-xtd```\n\n2. Add the app and its dependencies to INSTALLED_APPS in settings.py:\n```\nINSTALLED_APPS = [\n ...\n 'django_ajax_comments_xtd',\n 'django_comments_xtd',\n 'django_comments', \n ...\n]\n```\n\n3. Add COMMENTS_APP to your settings.py:\n\n```\nCOMMENTS_APP = 'django_comments_xtd'\n```\n\nMake sure you follow the exact order of putting these apps together\n\n4. Add this to your url config:\n\n```\nurlpatterns = [\n ...\n url(r'^comments/', include('tow.django_ajax_comments_xtd.urls')),\n ...\n]\n```\nNote: You don't need to add urls config provided by django_comments and django_comments_xtd because our app includes them all.\n\n5. Run migrations to create necessary database tables:\n\n```\npython manage.py migrate\n```\n\n6. Add JS library link to your template:\n```\n\n```\n\n7. In templates use these tags to display a list of comments and the comment form:\n\n```\n{% load comments comments_xtd %}\n...\n\n