SQLEditor Django Plugin
=======================


A plugin for SQLEditor to import and export Django model classes.


This is a beta release of the plugin

Requirements
------------

SQLEditor 1.6.3 or later
Mac OS X 10.5 or later 
Intel or PowerPC Mac
64 bit on Intel where supported

(Doesn't work on 10.4)


Installation
------------

Copy the DJango.bundle plugin to /Library/Application Support/SQLEditor/Plugins/

The Plugins directory may not exist, if it doesn't you will need to create it.


Usage
-----

The Django class model output is considered a dialect of SQL within SQLEditor.
Make a new document and set the dialect to Django.

To import Django files use "Import file" and select the model file.
This should be located within a Python module directory

To export, choose "Export File" and save the file to a suitable location.


Warning
-------

The importer works by executing the model code and watching the result. 
You should use caution when importing files so that they do not contain malicious intent.

Future versions of the plugin will execute this code within a sandbox which will improve security.
