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::

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>. Author Linkdin. <https://www.linkedin.com/in/shinu-n-508849168/>

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

django-execute-code-0.3.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

django_execute_code-0.3-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file django-execute-code-0.3.tar.gz.

File metadata

  • Download URL: django-execute-code-0.3.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for django-execute-code-0.3.tar.gz
Algorithm Hash digest
SHA256 836068bb8ae9c3c46f4a0ef8ab658f5c5016b2a94bfcdb824ad9a96ef1497dbd
MD5 612953728c33f3b4e5f9e3dc53666a01
BLAKE2b-256 df2f83ef96c05b13a6053ee508df425c807c54672766b1b6f01e83c256899712

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_execute_code-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31dfb1501706f4f6afd42b864d26987621dbe4c677dd39cc4ccccab3d02658dc
MD5 c5490221c430bfb78b38b00dc9ab59b1
BLAKE2b-256 72f986c93cd8d5c5346906e7e49869bd3be8e888b4f1ef3b41daf5b321393e8e

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