{"id":17720261,"url":"https://github.com/gregschmit/django-rest-scaffold","last_synced_at":"2025-09-15T07:39:25.578Z","repository":{"id":57421723,"uuid":"197318917","full_name":"gregschmit/django-rest-scaffold","owner":"gregschmit","description":null,"archived":false,"fork":false,"pushed_at":"2019-12-30T07:15:56.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-09T09:38:20.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/gregschmit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-17T05:07:37.000Z","updated_at":"2020-01-11T02:07:46.000Z","dependencies_parsed_at":"2022-09-10T13:21:55.034Z","dependency_job_id":null,"html_url":"https://github.com/gregschmit/django-rest-scaffold","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gregschmit/django-rest-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-rest-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-rest-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-rest-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-rest-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregschmit","download_url":"https://codeload.github.com/gregschmit/django-rest-scaffold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-rest-scaffold/sbom","scorecard":{"id":445140,"data":{"date":"2025-08-11","repo":{"name":"github.com/gregschmit/django-rest-scaffold","commit":"f40e986359c3a43846b0e72d603a9e1c855f5597"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-6 / GHSA-2f9x-5v75-3qv4","Warn: Project is vulnerable to: PYSEC-2019-17 / GHSA-337x-4q8g-prc5","Warn: Project is vulnerable to: PYSEC-2018-2 / GHSA-5hg3-6c2f-f3wr","Warn: Project is vulnerable to: PYSEC-2021-98 / GHSA-68w8-qjq3-2gfm","Warn: Project is vulnerable to: GHSA-6c3j-c64m-qhgq","Warn: Project is vulnerable to: GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: GHSA-8x94-hmjh-97hq","Warn: Project is vulnerable to: GHSA-hmr4-m2h5-33qx","Warn: Project is vulnerable to: PYSEC-2018-5 / GHSA-r28v-mw67-m5p9","Warn: Project is vulnerable to: PYSEC-2018-4 / GHSA-rf4j-j272-fj86","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: GHSA-vfq6-hq5r-27r6","Warn: Project is vulnerable to: PYSEC-2019-18 / GHSA-wh4h-v3f2-r2pp","Warn: Project is vulnerable to: PYSEC-2021-64 / GHSA-x7gm-rfgv-w973","Warn: Project is vulnerable to: PYSEC-2020-263 / GHSA-fx83-3ph3-9j2q","Warn: Project is vulnerable to: GHSA-gw84-84pc-xp82"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T06:32:04.460Z","repository_id":57421723,"created_at":"2025-08-19T06:32:04.460Z","updated_at":"2025-08-19T06:32:04.460Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275225863,"owners_count":25427000,"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-09-15T02:00:09.272Z","response_time":75,"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":[],"created_at":"2024-10-25T15:26:35.805Z","updated_at":"2025-09-15T07:39:25.556Z","avatar_url":"https://github.com/gregschmit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django REST Scaffold\n====================\n\n.. inclusion-marker-do-not-remove\n\n.. image:: https://travis-ci.org/gregschmit/django-rest-scaffold.svg?branch=master\n    :alt: TravisCI\n    :target: https://travis-ci.org/gregschmit/django-rest-scaffold\n\n.. image:: https://img.shields.io/pypi/v/django-rest-scaffold\n    :alt: PyPI\n    :target: https://pypi.org/project/django-rest-scaffold/\n\n.. image:: https://coveralls.io/repos/github/gregschmit/django-rest-scaffold/badge.svg?branch=master\n    :alt: Coveralls\n    :target: https://coveralls.io/github/gregschmit/django-rest-scaffold?branch=master\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :alt: Code Style\n    :target: https://github.com/ambv/black\n\nSource: https://github.com/gregschmit/django-rest-scaffold\n\nREST Scaffold is a Django app that provides a template tag helper for using\nthe `rest-scaffold.js \u003chttps://github.com/gregschmit/rest-scaffold\u003e`_ library.\n\n**The Problem**: AJAX is nice because if you have an API, then you don't need separate\npages/views for listing, creating, and updating model instances. But writing custom AJAX\ntables on the frontend can be time-consuming.\n\n**The Solution**: This app provides a template tag that uses ``rest-scaffold.js`` to\nquickly render \"scaffolds\", which are tables that have controls which interact with your\nAPI.\n\n\nHow to Use\n==========\n\n.. code-block:: shell\n\n    $ pip install django-rest-scaffold\n\nInclude ``rest_scaffold`` in your ``INSTALLED_APPS``.\n\nBuild your API or create one using\n`AutoREST \u003chttps://github.com/gregschmit/autorest\u003e`_.\n\nThen, insert a scaffold using the ``rest_scaffold`` template tag. At the top\nyou'll need to load the template tag:\n\n.. code-block:: python\n\n    {% load rest_scaffold %}\n\nAnd then wherever you want in the HTML page, inject the scaffold:\n\n.. code-block:: python\n\n    {% rest_scaffold 'user' api_root='api' %}\n\nIn the above example, you would see a scaffold for the ``User`` model.\n\n\nContributing\n============\n\nOpen a pull request fixing a bug or implementing a feature if you want to\ncontribute. You must only contribute code that you have authored or otherwise\nhold the copyright to, and you must make any contributions to this project\navailable under the MIT license.\n\nTo collaborators: don't push using the ``--force`` option.\n\n\nDev Quickstart\n==============\n\nREST Scaffold comes with a ``settings.py`` file, technically making it a Django project\nas well as a Django app. First clone, the repository into a location of your choosing:\n\n.. code-block:: shell\n\n    $ git clone https://github.com/gregschmit/django-rest-scaffold\n\nThen you can go into the ``django-rest-scaffold`` directory, install the test\nenvironment requirements, and then migrate and run the local development server:\n\n.. code-block:: shell\n\n    $ cd django-rest-scaffold\n    $ pip install -r requirements-test.txt\n    $ python manage.py migrate\n    $ python manage.py createsuperuser\n    ...\n    $ python manage.py runserver\n\nThen you can see the api at http://127.0.0.1:8000/api/, and you can see the example\nscaffold page at http://127.0.0.1:8000/example/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregschmit%2Fdjango-rest-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregschmit%2Fdjango-rest-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregschmit%2Fdjango-rest-scaffold/lists"}