On Wed, 2006-10-18 at 15:51 +1000, Devraj Mukherjee wrote:
> SOAP is what I was after. If I used SOAPpy could I still import the
> django model stuff in the SOAP service script?

Yes, you can do this. The only thing you need to work out is how you are
going to handle the Django-side configuration. You could set the
environment variable and have Django import your settings file. Or you
could (and I would recommend this) use the manual configuration (see
[1]) settings. In this case, you pass in a dictionary of name/value
pairs for the settings you need. If you are only wanting to use the
models, you probably just need the database settings and can leave
everything else at their default value initially (tweak this as you
discover other settings you need).

[1]
http://www.djangoproject.com/documentation/settings/#using-settings-without-setting-django-settings-module

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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