{"id":20652328,"url":"https://github.com/openpolis/django-idioticon","last_synced_at":"2025-10-10T09:05:17.469Z","repository":{"id":140969706,"uuid":"20693492","full_name":"openpolis/django-idioticon","owner":"openpolis","description":"Django-idioticon is a module that allows to disseminate html templates with clickable objects as template-tags,  that show terms' explanations (idioticons) on click.","archived":false,"fork":false,"pushed_at":"2014-06-23T09:52:04.000Z","size":216,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-10T09:05:15.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://django-idioticon.rtfd.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openpolis.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-10T16:50:56.000Z","updated_at":"2024-11-28T16:29:29.000Z","dependencies_parsed_at":"2023-03-12T14:45:18.409Z","dependency_job_id":null,"html_url":"https://github.com/openpolis/django-idioticon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openpolis/django-idioticon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolis%2Fdjango-idioticon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolis%2Fdjango-idioticon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolis%2Fdjango-idioticon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolis%2Fdjango-idioticon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openpolis","download_url":"https://codeload.github.com/openpolis/django-idioticon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolis%2Fdjango-idioticon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003390,"owners_count":26083579,"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-10T02:00:06.843Z","response_time":62,"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":"2024-11-16T17:33:54.841Z","updated_at":"2025-10-10T09:05:17.447Z","avatar_url":"https://github.com/openpolis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"================\ndjango-idioticon\n================\n\n.. image:: https://badge.fury.io/py/django-idioticon.png\n    :target: https://badge.fury.io/py/django-idioticon\n\n.. image:: https://travis-ci.org/openpolis/django-idioticon.png?branch=master\n    :target: https://travis-ci.org/openpolis/django-idioticon\n\n.. image:: https://coveralls.io/repos/openpolis/django-idioticon/badge.png?branch=master\n    :target: https://coveralls.io/r/openpolis/django-idioticon?branch=master\n\nIdioticon is a module that allows to disseminate html templates with clickable question marks (idioticons)\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-idioticon.readthedocs.org.\n\nQuickstart\n----------\n\nInstall django-idioticon::\n\n    pip install django-idioticon\n\n\nAdd ``idioticon`` to ``settings.INSTALLED_APPS`` and execute `syncdb` to create Term table::\n\n    \u003e\u003e\u003e import idioticon\n    \u003e\u003e\u003e idioticon.get_term(key='not-existing-term', soft_error=True)\n    None\n\n    \u003e\u003e\u003e term = idioticon.add_term('my-term', 'My term')\n    \u003e\u003e\u003e idioticon.add_term('my-term', 'My term')\n    False\n\n    \u003e\u003e\u003e idioticon.set_term('my-term', 'My new term').name\n    'My new term'\n\n    \u003e\u003e\u003e idioticon.update_term('my-term', 'My term').name\n    'My term'\n    \u003e\u003e\u003e idioticon.update_term('not-existing-term', 'My term')\n    False\n\n    \u003e\u003e\u003e idioticon.delete_term('my-term').name\n    'My term'\n\n    \u003e\u003e\u003e alias = idioticon.add_alias('my-term', 'my-alias', 'My alias', 'description')\n    \u003e\u003e\u003e alias.main_term == idioticon.get_term('my-term')\n    True\n\nFeatures\n--------\n\n* Term aliases\n* Idioticon administration\n* Shortcuts ( get_term, )\n* Tests for Django \u003e= 1.5 and Python \u003e= 2.6\n* django-modeltranslation integration for multi language site\n* Configurable definition field\n\n\nSettings\n--------\n\nOption | Description\n-------|------------\nIDIOTICON_THEME = 'span' | {% term_tag .. %} loads idioticon/term_THEME.html\nIDIOTICON_TEXT_FIELD = '' | Override the default TextField with your custom one.\n\nTemplate tags\n-------------\n::\n\n    {% load idioticon %}\n    {% term_tag 'my-term' %}\n\n    {% load_terms 'my-term' as term %}\n    {{ term.get_name %}\n    {{ term.get_definition %}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpolis%2Fdjango-idioticon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenpolis%2Fdjango-idioticon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpolis%2Fdjango-idioticon/lists"}