Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2007-08-04 15:54:23
Size: 426
Comment:
Revision 8 as of 2007-08-04 16:03:46
Size: 607
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * Jython does not have {{{__builtins__}}} as a module. Django adds "_" as a convenience method for calling gettext in {{{django/conf/__init__.py}}}. Jython should make __builtins__ a module.  * Jython does not have {{{__builtins__}}} as a module. Django adds "_" as a convenience method for calling gettext in {{{django/conf/__init__.py}}}. Jython should make {{{__builtins__}}} a module.
Line 5: Line 5:
 * Jython does not have {{{os.W_OK}}} needed in {{{django/core/management.py}}}. This probably will not be hard to add this since {{{java.io.File}}} has a {{{canWrite()}}}.

Gaps between Jython and Django

  • Jython does not have __builtins__ as a module. Django adds "_" as a convenience method for calling gettext in django/conf/__init__.py. Jython should make __builtins__ a module.

  • Jython does not have sys.stdout.isatty. Jython should get added to the exclusions around that call in django/core/management.py (win32 and 'Pocket PC' are already excluded).

  • Jython does not have os.W_OK needed in django/core/management.py. This probably will not be hard to add this since java.io.File has a canWrite().

DjangoOnJython (last edited 2014-05-22 23:24:19 by AdamBurke)