{ "info": { "author": "Jacob Rief", "author_email": "jacob.rief@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# django-angular\n\nLet Django play well with AngularJS\n\n[](https://travis-ci.org/jrief/django-angular)\n[](https://pypi.python.org/pypi/django-angular)\n[](https://pypi.python.org/pypi/django-angular)\n[](https://github.com/jrief/django-angular/blob/master/LICENSE-MIT)\n[](https://twitter.com/jacobrief)\n\n## What does it offer?\n\nAdd AngularJS directives to Django Forms. This allows to handle client side form validation using\nthe constraints provided by the server side Form declaration.\n\nFor more information, please visit the [demo site](https://django-angular.awesto.com/form_validation/).\n\n\n### How to run\n\n```\ngit clone https://github.com/jrief/django-angular.git django-angular.git\ncd django-angular.git\ndocker build -t django-angular.git .\ndocker run -d -it -p 9002:9002 django-angular.git\n```\n\nOpen the application at `http://{docker-host's-ip}:9002/`\n\n### Backward Incompatibility\n\nTo be compliant with other libraries such as **djangorestframework**, server-side responses on\nrejected forms use error code 422, rather than 200. If you use your own form controllers, adopt\nthem accordingly. The JSON format used to communicate errors downstream has changed slightly.\n\n### New Features\n\nFor a smoother transition path, **django-angular** added two directives in version 2.0:\n\n``
``, which can be used to upload form\ndata to the server. It also populates the error fields, in case the server rejected some data.\n\n``