{"id":16911238,"url":"https://github.com/pauloxnet/djangoqueries","last_synced_at":"2025-06-22T18:04:16.899Z","repository":{"id":41926880,"uuid":"106381694","full_name":"pauloxnet/djangoqueries","owner":"pauloxnet","description":"The code of \"Making queries\" in docs.djangoproject.com that I used in my article \"Full-Text Search in Django with PostgreSQL\".","archived":false,"fork":false,"pushed_at":"2025-01-27T15:56:12.000Z","size":369,"stargazers_count":42,"open_issues_count":2,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-22T18:02:56.496Z","etag":null,"topics":["django","full-text-search","postgresql","python"],"latest_commit_sha":null,"homepage":"https://www.paulox.net","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pauloxnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-10T07:13:45.000Z","updated_at":"2025-03-30T00:44:06.000Z","dependencies_parsed_at":"2024-09-11T23:24:41.693Z","dependency_job_id":"b63f769a-b6d1-4b0e-bfd4-18ca3ffca01e","html_url":"https://github.com/pauloxnet/djangoqueries","commit_stats":{"total_commits":79,"total_committers":2,"mean_commits":39.5,"dds":"0.12658227848101267","last_synced_commit":"f44088eefb2afb3c1cdc87b3db0ea4569900d40f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pauloxnet/djangoqueries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloxnet%2Fdjangoqueries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloxnet%2Fdjangoqueries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloxnet%2Fdjangoqueries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloxnet%2Fdjangoqueries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pauloxnet","download_url":"https://codeload.github.com/pauloxnet/djangoqueries/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauloxnet%2Fdjangoqueries/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261338954,"owners_count":23143891,"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":["django","full-text-search","postgresql","python"],"created_at":"2024-10-13T19:04:58.807Z","updated_at":"2025-06-22T18:04:16.817Z","avatar_url":"https://github.com/pauloxnet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦄️ Django Queries\n\n[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)\n![Coverage](https://img.shields.io/badge/coverage-100%25-success)\n[![Mastodon Follow](https://img.shields.io/mastodon/follow/000129461?domain=https%3A%2F%2Ffosstodon.org)](https://fosstodon.org/@paulox)\n\nSource code used in my article [\"Full-Text Search in Django with PostgreSQL\"](https://www.paulox.net/2017/12/22/full-text-search-in-django-with-postgresql) based on the blog application defined in the Django documentation topic [\"Making queries\"](https://docs.djangoproject.com/en/stable/topics/db/queries/).\n\n## 📖 Documentation\n\n### 🗃️ Database\n\nCreating the `djangoqueries` database in your local PostgreSQL instance:\n\n```shell\n$ createdb -U postgres -O postgres djangoqueries\n```\n\n### ⚗️ Virtualenv\n\nCreating and activating the virtual environment:\n\n```shell\n$ python3 -m venv .venv\n$ source .venv/bin/activate\n```\n\n### 🧩 Requirements\n\nInstalling the latest version of `django` _(tested from version 1.11 to 5.1)_ and `psycopg` (tested from version 2.7 to 3.2) using the requirements file:\n\n```shell\n$ python -m pip install -r requirements.txt\n```\n\n### ⬆️ Migrate\n\nMigrating the `djangoqueries` database to create all required tables:\n\n```shell\n$ python -m manage migrate\n```\n\n### 🔬 Tests\n\nRunning the defined tests:\n\n```shell\n$ python -m manage test\n```\n\n### 📊 Data\n\nPopulating the `djangoqueries` database with demo data for the blog app:\n\n```shell\n$ python -m manage loaddata blog/fixtures/blog.json\n```\n\n## ⚖️ License\n\n**Django Queries** is licensed under the [BSD 3-Clause License](https://github.com/pauloxnet/djangoqueries/blob/master/LICENSE.md).\n\n## 👥 Authors\n\n### 👤 Paolo Melchiorre\n\n- 🌍 Blog: [www.paulox.net](https://www.paulox.net)\n- 🐙 Github: [github.com/pauloxnet](https://github.com/pauloxnet)\n- 🦣 Mastodon: [fosstodon.org/@paulox](https://fosstodon.org/@paulox)\n- 👔 LinkedIn: [linkedin.com/in/paolomelchiorre/](https://www.linkedin.com/in/paolomelchiorre/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauloxnet%2Fdjangoqueries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauloxnet%2Fdjangoqueries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauloxnet%2Fdjangoqueries/lists"}