django-ide

Web based IDE to develop Django apps
Download

django-ide Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Luis Sobrecueva
  • Publisher web site:
  • http://sobrecueva.com

django-ide Tags


django-ide Description

Web based IDE to develop Django apps django-ide is a web-based IDE made with HTML5 and JavaScript. Currently, the following features have been written and are working:- Local storage: When you open a file once, this is copied to browser local storage, so the next times you open this file, if it has not changed, it will open intantaneusly from browser storage instead of getting it from server.- Offline mode: When you lose your connection, as it uses the local storage to save data on your browser, you can continue working in the open files and the changes generated offline will be sent to the server the next time the ide detects a connection.- Sync changes: If you are editing a file and, at the same time, other person edits it, the ide notify you of these changes and proposes you to get external changes or override with yours- Resources filter- Source code color syntax- Source code formattingThere is also one Django management command currently:- debugsqlshell: Outputs the SQL that gets executed as you work in the Python interactive shell. (See example below)If you have ideas for other panels please let us know.- Note: The Debug Toolbar only works on Django 1.1 and newer.Installation1. Add the debug_toolbar directory to your Python path.2. Add the following middleware to your project's settings.py file: 'debug_toolbar.middleware.DebugToolbarMiddleware', Tying into middleware allows each panel to be instantiated on request and rendering to happen on response. The order of MIDDLEWARE_CLASSES is important: the Debug Toolbar middleware must come after any other middleware that encodes the response's content (such as GZipMiddleware). Note: The debug toolbar will only display itself if the mimetype of the response is either text/html or application/xhtml+xml and contains a closing tag. Note: Be aware of middleware ordering and other middleware that may intercept requests and return responses. Putting the debug toolbar middleware after the Flatpage middleware, for example, means the toolbar will not show up on flatpages.3. Make sure your IP is listed in the INTERNAL_IPS setting. If you are working locally this will be: INTERNAL_IPS = ('127.0.0.1',) Note: This is required because of the built-in requirements of the show_toolbar method. See below for how to define a method to determine your own logic for displaying the toolbar.4. Add debug_toolbar to your INSTALLED_APPS setting so Django can find the template files associated with the Debug Toolbar. Alternatively, add the path to the debug toolbar templates ('path/to/debug_toolbar/templates' to your TEMPLATE_DIRS setting.) Requirements: · Python


django-ide Related Software