{"id":13634422,"url":"https://github.com/jrief/django-angular","last_synced_at":"2025-05-14T18:07:26.001Z","repository":{"id":698536,"uuid":"8699905","full_name":"jrief/django-angular","owner":"jrief","description":"Let AngularJS play well with Django","archived":false,"fork":false,"pushed_at":"2023-11-13T22:41:50.000Z","size":2254,"stargazers_count":1235,"open_issues_count":22,"forks_count":291,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-05-10T11:37:25.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://django-angular.awesto.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrief.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md"}},"created_at":"2013-03-11T09:12:53.000Z","updated_at":"2025-03-23T01:18:20.000Z","dependencies_parsed_at":"2024-01-06T10:28:41.633Z","dependency_job_id":null,"html_url":"https://github.com/jrief/django-angular","commit_stats":{"total_commits":1300,"total_committers":69,"mean_commits":"18.840579710144926","dds":0.2469230769230769,"last_synced_commit":"ae9d77786f79d13cde3696ec35012feff02654fe"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrief%2Fdjango-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrief%2Fdjango-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrief%2Fdjango-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrief%2Fdjango-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrief","download_url":"https://codeload.github.com/jrief/django-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198515,"owners_count":22030966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T23:01:04.449Z","updated_at":"2025-05-14T18:07:20.993Z","avatar_url":"https://github.com/jrief.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Python","Django + Angular 1","Django Utilities"],"sub_categories":["Resources"],"readme":"# django-angular\n\nLet Django play well with AngularJS\n\n[![Build Status](https://travis-ci.org/jrief/django-angular.svg?branch=master)](https://travis-ci.org/jrief/django-angular)\n[![PyPI version](https://img.shields.io/pypi/v/django-angular.svg)](https://pypi.python.org/pypi/django-angular)\n[![Python versions](https://img.shields.io/pypi/pyversions/django-angular.svg)](https://pypi.python.org/pypi/django-angular)\n[![Software license](https://img.shields.io/pypi/l/django-angular.svg)](https://github.com/jrief/django-angular/blob/master/LICENSE-MIT)\n[![Twitter Follow](https://img.shields.io/twitter/follow/jacobrief.svg?style=social\u0026label=Jacob+Rief)](https://twitter.com/jacobrief)\n\n\n## Deprecation Warning: [AngularJS is dead](https://blog.angular.io/discontinued-long-term-support-for-angularjs-cc066b82e65a) \n\nSince AngularJS is deprecated now, this library shall not be used for new projects anymore.\nInstead please proceed with my follow-up project [django-formset](https://github.com/jrief/django-formset).\nAll the useful features for Django Form validation have been reimplemented in **django-formset**, this time\nin vanilla TypeScript and without depending on any third party package.\n\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``\u003cform djng-endpoint=\"/path/to/endpoint\"\u003e...\u003c/form\u003e``, 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``\u003cdjng-forms-set endpoint=\"/path/to/endpoint\"\u003e\u003cform ...\u003e...\u003c/form\u003e...\u003c/djng-forms-set\u003e``\nSimilar to the above directive, but rather than validating one single form, it validates a\nset of forms using one shared endpoint.\n\nA promise chain has been introduced. Buttons used to submit form data and then proceed with\nsomething else, now can be written as:\n\n``\u003cbutton ng-click=\"do(update()).then(redirectTo('/path/to/other/page'))\"\u003eLabel\u003c/button\u003e``\n\n\n## Documentation\n\nDetailed documentation on [ReadTheDocs](http://django-angular.readthedocs.org/en/latest/).\n\n[Demo](http://django-angular.awesto.com/form_validation/) on how to combine Django with Angular's form validation.\n\nPlease drop me a line, if and where you use this project.\n\n\n## Features\n\n* Seamless integration of Django forms with AngularJS controllers.\n* Client side form validation for Django forms using AngularJS.\n* Let an AngularJS controller call methods in a Django view - kind of Javascript RPCs.\n* Manage Django URLs for static controller files.\n* Three way data binding to connect AngularJS models with a server side message queue.\n* Perform basic CRUD operations.\n\n## Examples\n\n* Implement Filter On Single Page Application using Django \u0026 Angular JS https://shriniket.home.blog/2019/09/22/integrate-angular-js-with-django-filter-application/\n\n\n## License\n\nCopyright \u0026copy; 2019\n\nMIT licensed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrief%2Fdjango-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrief%2Fdjango-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrief%2Fdjango-angular/lists"}