{"id":22750305,"url":"https://github.com/webix-hub/python-django-demo","last_synced_at":"2026-03-03T13:37:22.600Z","repository":{"id":146867692,"uuid":"90031559","full_name":"webix-hub/python-django-demo","owner":"webix-hub","description":"Using Django with Webix UI","archived":false,"fork":false,"pushed_at":"2018-07-27T13:21:02.000Z","size":10,"stargazers_count":5,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T13:02:17.792Z","etag":null,"topics":["django","python","webix","webix-backend"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webix-hub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-02T12:35:14.000Z","updated_at":"2024-10-24T03:28:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"1886be61-ead3-4374-b548-2795ca1490fc","html_url":"https://github.com/webix-hub/python-django-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webix-hub/python-django-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fpython-django-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fpython-django-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fpython-django-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fpython-django-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webix-hub","download_url":"https://codeload.github.com/webix-hub/python-django-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fpython-django-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269349604,"owners_count":24402209,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["django","python","webix","webix-backend"],"created_at":"2024-12-11T04:13:37.094Z","updated_at":"2026-03-03T13:37:17.556Z","avatar_url":"https://github.com/webix-hub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Using Django with Webix UI\n===========================\n\nInitialization\n--------------\n\n```\npython manage.py migrate\npython manage.py loaddata film\npython manage.py loaddata runserver\n```\n\nOpen http://localhost:8000/datatable in a browser\n\n\nHow it works\n--------------\n\nServer side code defines a simple REST handler, which outputs data from related model and process changes (datatable/views.py:data)\n\nFor data fetching handler returns an array of objects. For data saving handler returns a JSON object which can contain a new record id ( useful for insert operations ) or any other custom properties. \n\n#### CSRF\n\nClient side code need to have the next block of a code to provide correct CSRF headers\n\n```html\n{% csrf_token %}\n\u003cscript type=\"text/javascript\"\u003e\n\twebix.attachEvent(\"onBeforeAjax\", function(mode, url, data, xhr, headers){\n\t\tvar key = document.querySelector(\"[name=csrfmiddlewaretoken]\").value;\n\t\theaders[\"X-CSRFToken\"] = key;\n\t});\n\u003c/script\u003e\n```\n\nLicense\n---------\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebix-hub%2Fpython-django-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebix-hub%2Fpython-django-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebix-hub%2Fpython-django-demo/lists"}