{"id":34061073,"url":"https://github.com/gojuukaze/django-tagify2","last_synced_at":"2026-03-27T04:09:08.536Z","repository":{"id":45163312,"uuid":"129068934","full_name":"gojuukaze/django-tagify2","owner":"gojuukaze","description":"django tag input field using tagify","archived":false,"fork":false,"pushed_at":"2022-01-29T16:04:11.000Z","size":730,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-19T10:14:55.658Z","etag":null,"topics":["django","tag","tagfield","tagify","taginput"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gojuukaze.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}},"created_at":"2018-04-11T09:27:54.000Z","updated_at":"2023-08-04T00:32:32.000Z","dependencies_parsed_at":"2022-08-27T10:40:52.447Z","dependency_job_id":null,"html_url":"https://github.com/gojuukaze/django-tagify2","commit_stats":null,"previous_names":["gojuukaze/django-ktag"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/gojuukaze/django-tagify2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Fdjango-tagify2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Fdjango-tagify2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Fdjango-tagify2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Fdjango-tagify2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojuukaze","download_url":"https://codeload.github.com/gojuukaze/django-tagify2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuukaze%2Fdjango-tagify2/sbom","scorecard":{"id":434202,"data":{"date":"2025-08-11","repo":{"name":"github.com/gojuukaze/django-tagify2","commit":"a0331d6faba8a6cdafbcf1702aae054a8689ddb5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T04:11:17.793Z","repository_id":45163312,"created_at":"2025-08-19T04:11:17.793Z","updated_at":"2025-08-19T04:11:17.793Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["django","tag","tagfield","tagify","taginput"],"created_at":"2025-12-14T04:35:25.788Z","updated_at":"2026-03-27T04:09:08.531Z","avatar_url":"https://github.com/gojuukaze.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-tagify2\n\n[![GitHub version](https://img.shields.io/badge/version-1.0.15-blue.svg)](https://pypi.org/project/django-tagify2/)\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20V3-blue.svg)](https://github.com/gojuukaze/django-tagify2/blob/master/LICENSE)\n\ndjango tag input field using [tagify](https://github.com/yairEO/tagify)\n\n![alt tag](demo2.gif)\n\n\n\n# Requirements\n\n* python3+\n* django 2.0+ (maybe 1.x)\n\n# Documentation\n\n+ [Installation](#installation)\n+ [Usage](#usage)\n    - [Quick Start](#quick-start)\n    - [Using With Model Admin](#using-with-model)\n+ [Field Arguments](#field-arguments)\n+ [Example](#example)\n\n# Installation\n\n* download\n\n```shell\npip install django-tagify2\nor\npip install --index-url https://pypi.org/simple/ django-tagify2 \n```\n\n* Add 'tagify' application to the INSTALLED_APPS\n\n```python\nINSTALLED_APPS = [\n    ...\n    'tagify',\n]\n```\n\n* Make sure `APP_DIRS` is True in TEMPLATES\n\n```python\nTEMPLATES = [\n    ...\n    'APP_DIRS': True,\n                ...\n]\n```\n\n# Usage\n\n## Quick Start\n\n**The form class**\n\nBuilding a form in Django like this:\n\n```python\nfrom django import forms\nfrom tagify.fields import TagField\n\n\nclass TagForm(forms.Form):\n    languages = TagField(label='languages', place_holder='add a language', delimiters=' ',\n                         data_list=['Python', 'Java', 'PHP', 'Golang', 'JavaScript'], initial='Python Golang')\n\n\n# or \ndef random_number():\n    return [random.randint(10, 19), random.randint(10, 19), random.randint(10, 19), random.randint(10, 19), ]\n\n\nclass NumberForm(forms.Form):\n    number = TagField(label='number', place_holder='add a number', delimiters=' ',\n                      data_list=random_number)\n\n\n# or \nclass TagForm(forms.Form):\n    languages = TagField(label='languages', place_holder='add a language', delimiters=' ', )\n\n    def __init__(self, *args, **kwargs):\n        super().__init__(*args, **kwargs)\n        self.fields['languages'].set_tag_args('data_list', get_languages())\n\n\n```\n\n**The view**\n\nTo handle the form we need to instantiate it in the view for the URL where we want it to be published:\n\n```python\nfrom django.http import HttpResponse\nfrom django.shortcuts import render\n\nfrom example.forms import TagForm\n\n\ndef index(request):\n    if request.method == 'POST':\n        form = TagForm(request.POST)\n        if form.is_valid():\n            return HttpResponse(str(form.cleaned_data['languages']))\n    else:\n        form = TagForm()\n    return render(request, 'index.html', {'form': form})\n\n\n```\n\n**The template**\n\nThe simplest example is:\n\n```html\n\n\u003chead\u003e\n    {{ form.media }}\n\u003c/head\u003e\n\u003cbody\u003e\n  \u003cform action=\"\" method=\"post\"\u003e\n      {% csrf_token %}\n      {{ form }}\n      \u003cbr\u003e\n      \u003cinput type=\"submit\" value=\"OK\"\u003e\n  \u003c/form\u003e\n\u003c/body\u003e\n\n```\n\n## Using With Model\n\n\n```python\nfrom django.db import models\n\nfrom tagify.models import TagField\n\n\nclass People(models.Model):\n    name = models.CharField(max_length=30)\n    languages = TagField(verbose_name='languages')\n\n```\n\n\n# Field Arguments\n\nName                | Type          | Default     | Info\n------------------- |---------------| ----------- | --------------------------------------------------------------------------\nplace_holder        | string        | \"\"          | placeholder\ndelimiters          | string        | \",\"         | split tags by any of these delimiters. Example: Space or Coma - \", \"\ndata_list           | list/function | []          | an array of tags which they are allowed\nblack_list          | list          | []          | an array of tags which aren't allowed\nmax_tags            | int           | None        | max number of tags\nsuggestions_chars   | int           | 1           | minimum characters to input which shows the sugegstions list\npattern             | string        | \"\"          | Validate input by RegEx pattern. Ex: \"[1-9]\"\n\n# Example\n\nRun example\n\n```shell\ngit clone git@github.com:gojuukaze/django-tagify2.git  \ncd django-tagify2\npip install django\npython manage.py makemigrations example \npython manage.py createsuperuser\npython manage.py migrate   \npython manage.py runserver \n\n# open\n# http://127.0.0.1:8000\n# http://127.0.0.1:8000/number\n# http://127.0.0.1:8000/admin/example/people/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojuukaze%2Fdjango-tagify2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojuukaze%2Fdjango-tagify2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojuukaze%2Fdjango-tagify2/lists"}