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
::
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.2.tar.gz
.
File metadata
- Download URL: django-execute-code-0.2.tar.gz
- Upload date:
- Size: 10.0 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 | 0ec7aeb8afa930e0a231161a8e33a9d785b9be907e336492899defe81f9317dd |
|
MD5 | de25b885cf1728a89033b5e4a584a76b |
|
BLAKE2b-256 | 780b971096a5c0e97b0ed2081be8097a3fbc2498066e0388c311846a0ca0a40f |
File details
Details for the file django_execute_code-0.2-py3-none-any.whl
.
File metadata
- Download URL: django_execute_code-0.2-py3-none-any.whl
- Upload date:
- Size: 13.2 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 | cde2141bbf6be2ab7435cb6077c294268771a311d7f8c2dbe3b0e936e2d34876 |
|
MD5 | 0d61b64501b31e7a670512dd12206937 |
|
BLAKE2b-256 | 955e5853c2d95aca6e3b3ed3d77dbbc0d460919507f290b6fb970cc1cafa81c1 |