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',
    ]

#. <settings_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.4.tar.gz (55.6 kB view hashes)

Uploaded Source

Built Distribution

django_execute_code-0.4-py3-none-any.whl (57.0 kB view hashes)

Uploaded Python 3

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