{"id":21561478,"url":"https://github.com/phpdude/django-template-names","last_synced_at":"2025-04-10T12:02:47.914Z","repository":{"id":30748560,"uuid":"34305030","full_name":"phpdude/django-template-names","owner":"phpdude","description":"Django Templates Names by @phpdude","archived":false,"fork":false,"pushed_at":"2017-05-07T16:30:52.000Z","size":4,"stargazers_count":58,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T10:48:27.210Z","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/phpdude.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.markdown","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-21T04:53:12.000Z","updated_at":"2024-01-13T11:12:31.000Z","dependencies_parsed_at":"2022-08-03T15:15:19.909Z","dependency_job_id":null,"html_url":"https://github.com/phpdude/django-template-names","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/phpdude%2Fdjango-template-names","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2Fdjango-template-names/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2Fdjango-template-names/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpdude%2Fdjango-template-names/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpdude","download_url":"https://codeload.github.com/phpdude/django-template-names/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247968239,"owners_count":21025797,"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-11-24T09:23:17.019Z","updated_at":"2025-04-10T12:02:47.887Z","avatar_url":"https://github.com/phpdude.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Django Template Names](https://github.com/phpdude/django-template-names/) v0.2.1 - templates names normalization helper.\n\nDjango Template Names is a small mixin which allows you to simply normalize your CBV templates names.\n \nTemplateNames mixin provides you implementation for get_template_names() which generates a tuple of templates names.\n\nTemplates names depends on app name and CBV object class name. This allows you to forget about manually editing the template_name variable every time and provides a standard automatic build of the template names.\n\n### Installation\n\nThe simplest way to install *django-template-names* is using pip:\n\n```\npip install django-template-names\n```\n\n### Usage\n \n```\nfrom template_names import TemplateNames\n\nclass Detail(TemplateNames, DetailView):\n    ...\n    pass\n```\n\nSee tests.py for more insight.\n\n### Developer\n\nAlexandr Shurigin ([phpdude](https://github.com/phpdude/))\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdude%2Fdjango-template-names","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpdude%2Fdjango-template-names","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpdude%2Fdjango-template-names/lists"}