Hi,

You could look into an IDE like Eclipse, together with the PyDEV eclipse
plugin. I use this combination to develop for Django.

(There are some gotchas with code-completion; in some ways the
code-completion of PythonWin works better in combination with the magic
of Django models.)

Why I would recommend Eclipse here is that in Eclipse you can define all
sorts of 'external tools' that can be started with the press of a button
in the toolbar. These 'external tools' can be invokations of Python with
the proper command-line to perform tasks like initialize the SQL
database, run the dev-server, or other.

In other environments it should certainly also be possible to achieve
the desired goals: you can open 'manage.py' and start it with the
desired parameters for the operation.
However, defining some operations as 'external tools' in Eclipse allows
you to pre-define these actions and store the parameters. The 'external
tools' actions can also be stored in your workspace when you define them
as 'shared', which has the benefit that you can add the '.launch' files
created to your source-control system and everyone who checks out the
project automatically gets these actions added to their 'run external
tools' menu in Eclipse.


Cheers,

--Tim

-----Original Message-----
From: django-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Todd O'Bryan
Sent: maandag 13 maart 2006 13:23
To: django-users@googlegroups.com
Subject: IDE/Dev workflow question


Hi all!

I just discovered Django Saturday night and am very impressed.  
Unfortunately, I'm in my second week of learning my way around  
Python, so I'm running into newbie questions and would appreciate  
some guidance.

First, the background. I teach at a magnet high school. We offer an  
intro to programming class, AP Computer Science (which has to be in  
Java, since the College Board sets the curriculum, but which covers  
CS through basic data structures), and a Special Topics class for  
kids who want another year of programming.

In the SpecTops class, we've been working on a webapp and have been  
using Tapestry and Cayenne in a Java project that's a HUGE pain.

I'm thinking of moving to Django (since my students could learn  
Python in addition to becoming more productive), but students don't  
have access to the command line thanks to security policies passed  
down from on high. I can install Python and give students access to  
an interactive Python shell.

Is there any way to run the stuff Django needs from inside Python  
interactions, or do my students absolutely need access to a command- 
line interface to run all the setup stuff?

Given the constraints I've got, what would you suggest as a dev  
environment?

Thanks,
Todd O'Bryan



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to