{"id":13531974,"url":"https://github.com/wharton/wagtailgridder","last_synced_at":"2025-09-26T06:44:55.494Z","repository":{"id":54494251,"uuid":"81343058","full_name":"wharton/wagtailgridder","owner":"wharton","description":"Wagtail Gridder is a Bootstrap 4 enabled layout for the Wagtail CMS. Grid Items are created within categories, and displayed on a Grid Index Page. The JavaScript libraries Gridder and MixItUp are included.","archived":false,"fork":false,"pushed_at":"2025-07-29T13:55:06.000Z","size":907,"stargazers_count":67,"open_issues_count":1,"forks_count":12,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-08-30T14:42:47.229Z","etag":null,"topics":["bootstrap","django","python","wagtail","wagtail-cms"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wharton.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-08T15:18:04.000Z","updated_at":"2025-07-29T13:54:04.000Z","dependencies_parsed_at":"2023-01-23T07:31:30.788Z","dependency_job_id":"30408cd1-14b4-4557-93a8-1b5402d8a841","html_url":"https://github.com/wharton/wagtailgridder","commit_stats":{"total_commits":124,"total_committers":6,"mean_commits":"20.666666666666668","dds":"0.18548387096774188","last_synced_commit":"4e9110dd0413198e9e79d45c76cbdf8b6d9c9bd6"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/wharton/wagtailgridder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharton%2Fwagtailgridder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharton%2Fwagtailgridder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharton%2Fwagtailgridder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharton%2Fwagtailgridder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wharton","download_url":"https://codeload.github.com/wharton/wagtailgridder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wharton%2Fwagtailgridder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277036860,"owners_count":25749317,"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-26T02:00:09.010Z","response_time":78,"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":["bootstrap","django","python","wagtail","wagtail-cms"],"created_at":"2024-08-01T07:01:07.311Z","updated_at":"2025-09-26T06:44:55.488Z","avatar_url":"https://github.com/wharton.png","language":"Python","funding_links":[],"categories":["Apps"],"sub_categories":["Misc"],"readme":"# Wagtail Gridder\n\nWagtail Gridder is a Bootstrap 5 enabled layout for the Wagtail CMS. Grid Items are created within categories and displayed on a Grid Index Page. The JavaScript libraries Gridder and MixItUp are included.\n\n# Requirements\n\n* Wagtail \u003e= 6.3\n* Bootstrap \u003e= 5\n\nIf you are using Bootstrap 4, use a version lower than 2.0: `pip install wagtailgridder\u003c2`.\n\n# Installation\n\nWagtail Gridder can then be installed like most Django apps: `pip install wagtailgridder`.\n\nThen add `wagtailgridder` to your list of `INSTALLED_APPS` in your Django settings file. You will also need to add `wagtail.contrib.modeladmin`, if you haven't already. Your final settings may look something like this:\n\n```python\nWAGTAIL_APPS = [\n    'wagtail.contrib.forms',\n    'wagtail.contrib.redirects',\n    'wagtail.embeds',\n    'wagtail.sites',\n    'wagtail.users',\n    'wagtail.snippets',\n    'wagtail.documents',\n    'wagtail.images',\n    'wagtail.search',\n    'wagtail.admin',\n    'wagtail',\n\n    'modelcluster',\n    'taggit',\n\n    'wagtailgridder',\n]\n\nINSTALLED_APPS = INSTALLED_APPS + WAGTAIL_APPS\n```\n\nThis Wagtail Gridder template extends `base.html`, with the hope that this allows inclusion or your site's top and bottom navigation without much effort. There is [an example base.html provided](https://github.com/wharton/wagtailgridder/blob/main/wagtailgridder/templates/base.html).\n\nThen log into the Wagtail admin, and you should see a \"Grid Layouts\" section of the menu. The first thing you will want to do is add some \"Grid Categories.\" After that, you can create \"Grid Items\" (the cards, pictured below) and put them together on a \"Grid Index Page.\"\n\n# Settings\n\n    WAGTAILGRIDDER_CLEAR_CACHE = False\n\nThe default Wagtail Gridder template caches the grid display area to reduce the number of queries performed. Setting `WAGTAILGRIDDER_CLEAR_CACHE = True` in your Django settings will clear the **entire** Django cache after a page is edited. This approach is necessary, as Django does not currently support deletion from the cache by pattern. Setting this to `True` will clear your cache every time you save a Wagtail page. If anyone knows of a better solution that works for Django's supported cache systems, please let us know!\n\n    WAGTAILGRIDDER_GRID_ITEM_PARENT_PAGE_TYPES = [\"GridIndexPage\"]\n\nBy default, GridItem pages may only be created as children of GridIndexPage pages. To\n allow GridItem pages under any parent, set\n  `WAGTAILGRIDDER_GRID_ITEM_PARENT_PAGE_TYPES = None`. See the [Wagtail Documentation\n  ](https://docs.wagtail.io/en/stable/reference/pages/model_reference.html#wagtail.core.models.Page.parent_page_types)\n  for more\n\n    WAGTAILGRIDDER_GRID_INDEX_PAGE_SUBPAGE_TYPES = [\"GridItem\"]\n\nBy default, GridIndexPage pages may only have GridItem pages as children. To allow GridIndexPage pages to have other child types, set `WAGTAILGRIDDER_GRID_INDEX_PAGE_SUBPAGE_TYPES = None`. See the [Wagtail Documentation](https://docs.wagtail.io/en/stable/reference/pages/model_reference.html#wagtail.core.models.Page.subpage_types) for more details.\n\n`GridIndexPage` is inherited from an abstract model, [GridIndexPageAbstract](https://github.com/wharton/wagtailgridder/blob/a559ad39ec9f3bc1291080eb7e7cf5a60ffb5b38/wagtailgridder/models.py#L175), which you may wish to customize.\n\n# Screenshots\n\n## Grid Index Page:\n\n![Grid Index Page](https://raw.githubusercontent.com/wharton/wagtailgridder/main/img/grid_index_page.jpg)\n\n## Grid Index Page, with Grid Item expanded:\n\n![Grid Index Page, with Grid Item expanded](https://raw.githubusercontent.com/wharton/wagtailgridder/main/img/grid_index_page_expanded.jpg)\n\n## Optional featured hero region:\n\n![Optional featured hero region](https://raw.githubusercontent.com/wharton/wagtailgridder/main/img/featured_hero.jpg)\n\n## Grid Item landing page:\n\n![Grid Item landing page](https://raw.githubusercontent.com/wharton/wagtailgridder/main/img/grid_item.jpg)\n\n## Editing a Grid Item:\n\n![Editing a Grid Item](https://raw.githubusercontent.com/wharton/wagtailgridder/main/img/edit_grid_item.jpg)\n\n## Editing a Grid Index Page:\n\n![Editing a Grid Index Page](https://raw.githubusercontent.com/wharton/wagtailgridder/main/img/edit_grid_index_page.jpg)\n\n## Release Notes and Contributors\n\n* [Release notes](https://github.com/wharton/wagtailgridder/releases)\n* [Our wonderful contributors](https://github.com/wharton/wagtailgridder/graphs/contributors)\n\n## Maintainer\n\n* [Timothy Allen](https://github.com/FlipperPA) at [The Wharton School](https://github.com/wharton)\n\nThis package is maintained by the staff of [Wharton Research Data Services](https://wrds.wharton.upenn.edu/). We are thrilled that [The Wharton School](https://www.wharton.upenn.edu/) allows us a certain amount of time to contribute to open-source projects. We add features as they are necessary for our projects, and try to keep up with Issues and Pull Requests as best we can. Due to constraints of time (our full time jobs!), Feature Requests without a Pull Request may not be implemented, but we are always open to new ideas and grateful for contributions and our package users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwharton%2Fwagtailgridder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwharton%2Fwagtailgridder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwharton%2Fwagtailgridder/lists"}