[](https://travis-ci.org/luminousmen/django-sql)
[](https://coveralls.io/github/luminousmen/django-sql?branch=master)
[](https://badge.fury.io/py/django-sql)
[](https://github.com/luminousmen/django-sql/blob/master/LICENCE)
Django-SQL
====
A simple app for executing SQL queries in Django admin panel.
*! WARNINIG !*
_Do not install this app if you afraid of consequences of giving access to database from admin panel._
##### Requirements
* Python3
* Django 1.9
##### Installation
```
pip install django-sql
```
Add to your `INSTALLED_APPS` in `settings.py`:
```python
INSTALLED_APPS = [
...
'sqlapp',
]
```
Add to your `urls.py`:
```python
from sqlapp.sqlapp import execute_sql
urlpatterns = [
url(r'^admin/sqlapp/(?:sql/)?$', execute_sql, name='sql'),
url(r'^admin/', include(admin.site.urls), name='admin'),
]
```
**Note:** The `sqlapp` URL pattern must come BEFORE the `admin` pattern as shown above.
##### Contributors
* [luminousmen](https://github.com/luminousmen)
* [un-def](https://github.com/un-def)
[](https://coveralls.io/github/luminousmen/django-sql?branch=master)
[](https://badge.fury.io/py/django-sql)
[](https://github.com/luminousmen/django-sql/blob/master/LICENCE)
Django-SQL
====
A simple app for executing SQL queries in Django admin panel.
*! WARNINIG !*
_Do not install this app if you afraid of consequences of giving access to database from admin panel._
##### Requirements
* Python3
* Django 1.9
##### Installation
```
pip install django-sql
```
Add to your `INSTALLED_APPS` in `settings.py`:
```python
INSTALLED_APPS = [
...
'sqlapp',
]
```
Add to your `urls.py`:
```python
from sqlapp.sqlapp import execute_sql
urlpatterns = [
url(r'^admin/sqlapp/(?:sql/)?$', execute_sql, name='sql'),
url(r'^admin/', include(admin.site.urls), name='admin'),
]
```
**Note:** The `sqlapp` URL pattern must come BEFORE the `admin` pattern as shown above.
##### Contributors
* [luminousmen](https://github.com/luminousmen)
* [un-def](https://github.com/un-def)
Release files for django-sql 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-sql-1.0.1.tar.gz | 4.6 kB | Details |
Release files / django-sql-1.0.1.tar.gz
| Download URL | django-sql-1.0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c5e02b4729eee8f09a18a814bf7fdf4f27ec5b24823cd8edf9a00d2514c5777
|
|
BLAKE2b-256 checksum How to use checksums |
1ee6f2ea67fd46f69ee3c2e2714fb0492cd6750a6a8d66f8b06d42ddcc4e261c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |