Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_execute_code-0.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file django_execute_code-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_execute_code-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

Hashes for django_execute_code-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 723a16b6a47bd3252f2d145ed2eb54d8e2aa0aa4a854d633942735c62dd027d3
MD5 be6e2fdac6535ce8b0aa9cd0c5093197
BLAKE2b-256 47a864ef3e96dee1a5e449b9514a421baf65a45a492c7d74060c621044730690

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page