{"id":25703371,"url":"https://github.com/cododel/django_template_tags","last_synced_at":"2025-10-28T10:41:23.337Z","repository":{"id":137732338,"uuid":"324017302","full_name":"cododel/django_template_tags","owner":"cododel","description":"Custom template tags for django.","archived":false,"fork":false,"pushed_at":"2021-11-11T03:57:07.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T18:50:19.028Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cododel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-12-23T22:52:27.000Z","updated_at":"2022-11-04T18:15:54.000Z","dependencies_parsed_at":"2023-06-06T18:15:47.162Z","dependency_job_id":null,"html_url":"https://github.com/cododel/django_template_tags","commit_stats":null,"previous_names":["websmithcode/django_template_tags","cododel/django_template_tags"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cododel/django_template_tags","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cododel%2Fdjango_template_tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cododel%2Fdjango_template_tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cododel%2Fdjango_template_tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cododel%2Fdjango_template_tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cododel","download_url":"https://codeload.github.com/cododel/django_template_tags/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cododel%2Fdjango_template_tags/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281425557,"owners_count":26499031,"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-10-28T02:00:06.022Z","response_time":60,"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":"2025-02-25T05:28:54.944Z","updated_at":"2025-10-28T10:41:23.320Z","avatar_url":"https://github.com/cododel.png","language":"Python","readme":"# django_template_tags\nCustom template tags for django.\n\n\u003e Adds tags such, as: \"multiply\", \"range\", \"or\"   \n\u003e Before use needs load {% load common_tags %}\n\n# For install:  \nAdd \"templateteags\" dit to your application and register \"common_tags\" in the settings to \"TEMPLATES\" \u003e \"libraries\":\n       \n       TEMPLATES = [\n            {\n                'BACKEND': '...',\n                'DIRS': [...],\n                'APP_DIRS': ...,\n                'OPTIONS': {\n                     ...\n                     'libraries': {\n                            'common_tags': 'appname.templatetags.common_tags',\n                     }\n                },\n            },\n        ]\n\n## Multiply\nRepeat content by number of times:\n\n    {% multiply \u003cnum: int\u003e %}  \n        [Content] \n    {% endmultiply %}\n\n## Range\n\"range\" it is generated list from range and passed to template tag \"cycle\" and might be used like \"cycle\" tag with number list, or in multiply like cycle number generator.  \nExamples syntax:\n\n    {% range \u003cend: int\u003e %}\n    {% range \u003cstart: int\u003e \u003cend: int\u003e %}\n    {% range \u003cstart: int\u003e \u003cend: int\u003e \u003cstep: int\u003e %}\n    {% range \u003cstart: int\u003e \u003cend: int\u003e \u003cstep: int\u003e as \u003cvar\u003e %}\n    {% range \u003cstart: int\u003e \u003cend: int\u003e \u003cstep: int\u003e as \u003cvar\u003e [silent] %}\n    \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcododel%2Fdjango_template_tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcododel%2Fdjango_template_tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcododel%2Fdjango_template_tags/lists"}