django execute code for Django 2.*
Project description
Django execute code
This is a project that is used to execute python codes in the web page. You can install and use it in django projects, You can do any operations that can be performed in python shell with this package.
Installation
#. Install django-execute-code using pip
::
pip install django-execute-code
Configuration
#. settings.py
::
INSTALLED_APPS = [
...
'django_execute_code',
]
'''
#. <root_url_folder>/urls.py
::
from django_execute_code import urls
urlpatterns += [
url('_debug_/', include('django_execute_code.urls')),
]
'''
Usage
go to your django site after installing and configuring this package,
then login as super user and go to this url http://<your_site_url>/_debug_/execute-python/
Contributing
If you think you've found a bug or are interested in contributing to this project check out django-exec-code on Github. <https://github.com/shinunandakumar/django_execute_code>
_.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-execute-code-0.0.1.tar.gz
.
File metadata
- Download URL: django-execute-code-0.0.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51b03232263751e96407f5113ad7fd6e7a2f5c963ef12428e640e365b0a56864 |
|
MD5 | 32d1c4f2fd368ef9fa9957c391708a01 |
|
BLAKE2b-256 | 9b87dc31d5e57f1c8efad6fbcbb7da7bef529529693dbbe2304d1068894da75a |
File details
Details for the file django_execute_code-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: django_execute_code-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ba2857c02ded959ca416f8862b9a8498be40c31fb2241dd42c7fd066dac4a6 |
|
MD5 | 75504b37c7fa79eb8f4c75101ea5a2df |
|
BLAKE2b-256 | 90b133a3de4ad729e9030b903238051e9d381506c18a7cff24773ab3530ca764 |