{"id":16417427,"url":"https://github.com/adamghill/django-fbv","last_synced_at":"2025-03-17T08:38:11.231Z","repository":{"id":57420035,"uuid":"449058435","full_name":"adamghill/django-fbv","owner":"adamghill","description":"Utilities to make function-based views cleaner, more efficient, and better tasting.","archived":false,"fork":false,"pushed_at":"2023-01-01T14:45:25.000Z","size":127,"stargazers_count":68,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-16T10:24:52.175Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamghill.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["adamghill"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-01-17T21:48:57.000Z","updated_at":"2025-03-04T10:36:03.000Z","dependencies_parsed_at":"2023-01-31T23:05:14.240Z","dependency_job_id":null,"html_url":"https://github.com/adamghill/django-fbv","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamghill%2Fdjango-fbv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamghill%2Fdjango-fbv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamghill%2Fdjango-fbv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamghill%2Fdjango-fbv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamghill","download_url":"https://codeload.github.com/adamghill/django-fbv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244001779,"owners_count":20381852,"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-10-11T07:11:30.165Z","updated_at":"2025-03-17T08:38:10.873Z","avatar_url":"https://github.com/adamghill.png","language":"Python","funding_links":["https://github.com/sponsors/adamghill"],"categories":["Python"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://django-fbv.readthedocs.io\"\u003e\u003ch1 align=\"center\"\u003edjango-fbv\u003c/h1\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eUtilities to make Django function-based views cleaner, more efficient, and better tasting. 💥\u003c/p\u003e\n\n![PyPI](https://img.shields.io/pypi/v/django-fbv?color=blue\u0026style=flat-square)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/django-fbv?color=blue\u0026style=flat-square)\n![GitHub Sponsors](https://img.shields.io/github/sponsors/adamghill?color=blue\u0026style=flat-square)\n\n📖 Complete documentation: https://django-fbv.readthedocs.io\n\n📦 Package located at https://pypi.org/project/django-fbv/\n\n## Features\n\n### decorators\n\n- [`fbv.decorators.render_html`](https://django-fbv.readthedocs.io/en/latest/decorators/#render-html): decorator to specify the template that a view function response should use when rendering\n- [`fbv.decorators.render_view`](https://django-fbv.readthedocs.io/en/latest/decorators/#render-view): decorator to specify the template and content type that a view function response should use when rendering\n- [`fbv.decorators.render_json`](https://django-fbv.readthedocs.io/en/latest/decorators/#render-json): decorator to automatically render dictionaries, Django Models, or Django QuerySets as a JSON response\n\n### views\n\n- [`fbv.views.html_view`](https://django-fbv.readthedocs.io/en/latest/views/#html-view): directly render a template from `urls.py`\n- [`fbv.views.redirect_view`](https://django-fbv.readthedocs.io/en/latest/views/#redirect-view): redirect to a pattern name from `urls.py`\n- [`fbv.views.file`](https://django-fbv.readthedocs.io/en/latest/views/#file): serve a file\n- [`fbv.views.favicon_file`](https://django-fbv.readthedocs.io/en/latest/views/#favicon-file): serve an image file as the favicon.ico\n- [`fbv.views.favicon_emoji`](https://django-fbv.readthedocs.io/en/latest/views/#favicon-emoji): serve an emoji as the favicon.ico\n\n### middleware\n\n- [`fbv.middleware.RequestMethodMiddleware`](https://django-fbv.readthedocs.io/en/latest/middleware/): adds a boolean property to the `request` for the current request's HTTP method\n\nRead all of the documentation at https://django-fbv.readthedocs.io/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamghill%2Fdjango-fbv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamghill%2Fdjango-fbv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamghill%2Fdjango-fbv/lists"}