{"id":19808689,"url":"https://github.com/luminousmen/django-sql","last_synced_at":"2025-05-01T07:32:38.328Z","repository":{"id":49708298,"uuid":"70089121","full_name":"luminousmen/django-sql","owner":"luminousmen","description":"A simple app for executing SQL queries in Django admin panel.","archived":false,"fork":false,"pushed_at":"2024-02-07T19:37:36.000Z","size":19,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-07-07T00:42:51.315Z","etag":null,"topics":["django","django-admin-panel","django-sql","sql"],"latest_commit_sha":null,"homepage":"","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/luminousmen.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}},"created_at":"2016-10-05T18:49:21.000Z","updated_at":"2023-04-21T17:12:46.000Z","dependencies_parsed_at":"2022-08-26T06:41:18.836Z","dependency_job_id":null,"html_url":"https://github.com/luminousmen/django-sql","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/luminousmen%2Fdjango-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luminousmen%2Fdjango-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luminousmen%2Fdjango-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luminousmen%2Fdjango-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luminousmen","download_url":"https://codeload.github.com/luminousmen/django-sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224245869,"owners_count":17279649,"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","django-admin-panel","django-sql","sql"],"created_at":"2024-11-12T09:14:31.794Z","updated_at":"2024-11-12T09:14:32.278Z","avatar_url":"https://github.com/luminousmen.png","language":"Python","readme":"[![Build Status](https://travis-ci.org/luminousmen/django-sql.svg?branch=master)](https://travis-ci.org/luminousmen/django-sql)\n[![Coverage Status](https://coveralls.io/repos/github/luminousmen/django-sql/badge.svg?branch=master)](https://coveralls.io/github/luminousmen/django-sql?branch=master)\n[![PyPI version](https://badge.fury.io/py/django-sql.svg)](https://badge.fury.io/py/django-sql)\n[![Licence](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/luminousmen/django-sql/blob/master/LICENCE)\n\n\nDjango-SQL\n====\nA simple app for executing SQL queries in Django admin panel.\n\n*! WARNINIG !*\n\n   _Do not install this app if you afraid of consequences of giving access to database from admin panel._\n\n\n##### Requirements\n\n* Python3\n* Django 1.9\n\n\n##### Installation\n\n```\n    pip install django-sql\n```\n\nAdd to your `INSTALLED_APPS` in `settings.py`:\n\n\n```python\n    INSTALLED_APPS = [\n      ...\n      'sqlapp',\n    ]\n```\n\nAdd to your `urls.py`:\n\n\n```python\n   from sqlapp.sqlapp import execute_sql\n   \n   urlpatterns = [\n      url(r'^admin/sqlapp/(?:sql/)?$', execute_sql, name='sql'),\n      url(r'^admin/', include(admin.site.urls), name='admin'),\n   ]\n```\n**Note:** The `sqlapp` URL pattern must come BEFORE the `admin` pattern as shown above.\n\n##### Contributors\n\n* [luminousmen](https://github.com/luminousmen)\n* [un-def](https://github.com/un-def)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluminousmen%2Fdjango-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluminousmen%2Fdjango-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluminousmen%2Fdjango-sql/lists"}