{"id":15451453,"url":"https://github.com/davidar/django-recurse","last_synced_at":"2025-04-04T14:14:43.924Z","repository":{"id":673738,"uuid":"317211","full_name":"davidar/django-recurse","owner":"davidar","description":"Git mirror of the recurse template tag by Lucas Murray","archived":false,"fork":false,"pushed_at":"2009-09-25T09:31:41.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-09T23:47:59.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.undefinedfire.com/lab/recursion-django-templates/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidar.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-09-25T09:17:41.000Z","updated_at":"2017-07-23T20:26:22.000Z","dependencies_parsed_at":"2022-08-16T10:40:14.531Z","dependency_job_id":null,"html_url":"https://github.com/davidar/django-recurse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidar%2Fdjango-recurse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidar%2Fdjango-recurse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidar%2Fdjango-recurse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidar%2Fdjango-recurse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidar","download_url":"https://codeload.github.com/davidar/django-recurse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190253,"owners_count":20898702,"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-01T21:25:17.270Z","updated_at":"2025-04-04T14:14:43.905Z","avatar_url":"https://github.com/davidar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository is a packaged version of the recurse Django template tag\nwritten by Lucas Murray.\n\nUsage information according to\n\u003chttp://www.undefinedfire.com/lab/recursion-django-templates/\u003e\nis replicated below:\n\n    Most of the tags are self explanatory, the only one that may cause\n    confusion is the main {% recurse %} one. The format for this tag is\n    {% recurse [children] with [parent] as [child] %} where \"[children]\" is the\n    property that contains the children of the current element, \"[parent]\" is\n    your starting element and \"[child]\" is the variable named used in the loop.\n\n    Here is an example of how you can implement a category tree using this\n    template tag. As you can see it’s fairly simple and with a couple of\n    modifications can be used for just about anything.\n\n        {% load recurse %}\n        ... Headers and stuff ...\n        {% recurse category.category_set.all with categories as category %}\n        \u003cul\u003e\n            {% loop %}\n            \u003cli\u003e\n                \u003ch{{ level }}\u003e{{ category.title }}\u003c/h{{ level }}\u003e\n                {% child %}\n            \u003c/li\u003e\n            {% endloop %}\n        \u003c/ul\u003e\n        {% endrecurse %}\n        ... The rest of the page ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidar%2Fdjango-recurse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidar%2Fdjango-recurse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidar%2Fdjango-recurse/lists"}