django-fbv


Namedjango-fbv JSON
Version 0.8.0 PyPI version JSON
download
home_pageNone
SummaryUtilities to make function-based views cleaner, more efficient, and better tasting.
upload_time2025-10-26 22:49:00
maintainerNone
docs_urlNone
authorAdam Hill
requires_python>=3.10
licenseNone
keywords django web python django
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <a href="https://django-fbv.adamghill.com"><h1 align="center">django-fbv</h1></a>
</p>
<p align="center">Utilities to make Django function-based views cleaner, more efficient, and better tasting. 💥</p>

![PyPI](https://img.shields.io/pypi/v/django-fbv?color=blue&style=flat-square)
![PyPI - Downloads](https://img.shields.io/pypi/dm/django-fbv?color=blue&style=flat-square)
![GitHub Sponsors](https://img.shields.io/github/sponsors/adamghill?color=blue&style=flat-square)

📖 Complete documentation: https://django-fbv.adamghill.com

📦 Package located at https://pypi.org/project/django-fbv/

## Features

## Features

### Decorators

- [`fbv.decorators.render_html`](https://django-fbv.adamghill.com/en/latest/decorators/#render-html): renders a view as HTML with the specified template
- [`fbv.decorators.render_view`](https://django-fbv.adamghill.com/en/latest/decorators/#render-view): renders a view as a content type with the specified template
- [`fbv.decorators.render_json`](https://django-fbv.adamghill.com/en/latest/decorators/#render-json): 
renders dictionaries, Django Models, or Django QuerySets as a JSON response

### Views

- [`fbv.views.html_view`](https://django-fbv.adamghill.com/en/latest/views/#html-view): directly render a template from `urls.py`
- [`fbv.views.redirect_view`](https://django-fbv.adamghill.com/en/latest/views/#redirect-view): redirect to a pattern name from `urls.py`
- [`fbv.views.file`](https://django-fbv.adamghill.com/en/latest/views/#file): serve a file
- [`fbv.views.favicon_file`](https://django-fbv.adamghill.com/en/latest/views/#favicon-file): serve an image file as the favicon.ico
- [`fbv.views.favicon_emoji`](https://django-fbv.adamghill.com/en/latest/views/#favicon-emoji): serve an emoji as the favicon.ico

### Middleware

- [`fbv.middleware.RequestMethodMiddleware`](https://django-fbv.adamghill.com/en/latest/middleware/): adds a boolean property to the `request` for the current request's HTTP method

Read all of the documentation at https://django-fbv.adamghill.com/.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "django-fbv",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "django, web, python, django",
    "author": "Adam Hill",
    "author_email": "Adam Hill <adam@adamghill.com>",
    "download_url": "https://files.pythonhosted.org/packages/58/3a/fe362e8a2acc5bb41be585cebde1f8fe3ba6fc30ea24af8789fee544b74d/django_fbv-0.8.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <a href=\"https://django-fbv.adamghill.com\"><h1 align=\"center\">django-fbv</h1></a>\n</p>\n<p align=\"center\">Utilities to make Django function-based views cleaner, more efficient, and better tasting. \ud83d\udca5</p>\n\n![PyPI](https://img.shields.io/pypi/v/django-fbv?color=blue&style=flat-square)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/django-fbv?color=blue&style=flat-square)\n![GitHub Sponsors](https://img.shields.io/github/sponsors/adamghill?color=blue&style=flat-square)\n\n\ud83d\udcd6 Complete documentation: https://django-fbv.adamghill.com\n\n\ud83d\udce6 Package located at https://pypi.org/project/django-fbv/\n\n## Features\n\n## Features\n\n### Decorators\n\n- [`fbv.decorators.render_html`](https://django-fbv.adamghill.com/en/latest/decorators/#render-html): renders a view as HTML with the specified template\n- [`fbv.decorators.render_view`](https://django-fbv.adamghill.com/en/latest/decorators/#render-view): renders a view as a content type with the specified template\n- [`fbv.decorators.render_json`](https://django-fbv.adamghill.com/en/latest/decorators/#render-json): \nrenders dictionaries, Django Models, or Django QuerySets as a JSON response\n\n### Views\n\n- [`fbv.views.html_view`](https://django-fbv.adamghill.com/en/latest/views/#html-view): directly render a template from `urls.py`\n- [`fbv.views.redirect_view`](https://django-fbv.adamghill.com/en/latest/views/#redirect-view): redirect to a pattern name from `urls.py`\n- [`fbv.views.file`](https://django-fbv.adamghill.com/en/latest/views/#file): serve a file\n- [`fbv.views.favicon_file`](https://django-fbv.adamghill.com/en/latest/views/#favicon-file): serve an image file as the favicon.ico\n- [`fbv.views.favicon_emoji`](https://django-fbv.adamghill.com/en/latest/views/#favicon-emoji): serve an emoji as the favicon.ico\n\n### Middleware\n\n- [`fbv.middleware.RequestMethodMiddleware`](https://django-fbv.adamghill.com/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.adamghill.com/.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Utilities to make function-based views cleaner, more efficient, and better tasting. ",
    "version": "0.8.0",
    "project_urls": {
        "Documentation": "https://django-fbv.adamghill.com",
        "Funding": "https://github.com/sponsors/adamghill",
        "Homepage": "https://github.com/adamghill/django-fbv",
        "Repository": "https://github.com/adamghill/django-fbv"
    },
    "split_keywords": [
        "django",
        " web",
        " python",
        " django"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a37853279b39ab409a97933a3b6f15533fc7cd54673601c5559ae7f8faa8eed2",
                "md5": "ac4e8406117d5cc44bde9c8303a0dcc6",
                "sha256": "fbd167664244a13d4d3b3fc4e4e2f550f10312eed237df013071b10f5ca8159c"
            },
            "downloads": -1,
            "filename": "django_fbv-0.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac4e8406117d5cc44bde9c8303a0dcc6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 5790,
            "upload_time": "2025-10-26T22:48:59",
            "upload_time_iso_8601": "2025-10-26T22:48:59.492870Z",
            "url": "https://files.pythonhosted.org/packages/a3/78/53279b39ab409a97933a3b6f15533fc7cd54673601c5559ae7f8faa8eed2/django_fbv-0.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "583afe362e8a2acc5bb41be585cebde1f8fe3ba6fc30ea24af8789fee544b74d",
                "md5": "4948fa1e9ace1d7d2930230aa317be3d",
                "sha256": "3709fd312493699e1c4b2ab6d010f19858fca72512f6bf54227c90304ea66017"
            },
            "downloads": -1,
            "filename": "django_fbv-0.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4948fa1e9ace1d7d2930230aa317be3d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 5539,
            "upload_time": "2025-10-26T22:49:00",
            "upload_time_iso_8601": "2025-10-26T22:49:00.561478Z",
            "url": "https://files.pythonhosted.org/packages/58/3a/fe362e8a2acc5bb41be585cebde1f8fe3ba6fc30ea24af8789fee544b74d/django_fbv-0.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-26 22:49:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sponsors",
    "github_project": "adamghill",
    "github_not_found": true,
    "lcname": "django-fbv"
}
        
Elapsed time: 1.70983s