Coder Social home page Coder Social logo

shinunandakumar / django_execute_code Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 68 KB

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.

License: MIT License

Python 60.67% HTML 39.33%

django_execute_code's Introduction

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

  1. Install django-execute-code using pip:

    pip install django-execute-code

Configuration

  1. settings.py:

    INSTALLED_APPS = [

    ... 'django_execute_code',

    ]

  2. <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.. Author Linkdin.

django_execute_code's People

Contributors

shinunandakumar avatar shinu-del avatar

Stargazers

Rayees AC avatar  avatar Mohammed Shahid avatar  avatar  avatar

Watchers

 avatar  avatar

django_execute_code's Issues

Add a warning

You should seriously consider adding a warning.

New users might install this without understanding the dangers this project presents.

It's a neat project to develop, but allowing end users to execute arbitrary code like this on the server is pretty much the antithesis of web security.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.