Hi there-
Let me describe the situation we have. I'm working on a test
automation system, with a backend python script that does the actual
testing. The frontend is currently a PHP web application. Between
the two is a database- web app adds rows, python scheduler polls for
new rows.
We'd ver
On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The key questions are:
> -can we use Django's 'models.py' DB abstraction API from outside of
> Django?
> -if so, how?
> -what libraries would we need to import?
> -Anything we'd need to setup before hand?
You should be able to just set
This will probably help out.
http://code.djangoproject.com/wiki/InitialSQLDataDiangoORMWay
On Feb 7, 3:30 pm, [EMAIL PROTECTED] wrote:
> Hi there-
>
> Let me describe the situation we have. I'm working on a test
> automation system, with a backend python script that does the actual
> testing.
> You should be able to just set up a minimal Django project with
> settings to specify a database and an INSTALLED_APPS list, and then
> things will just work. If you don't want to use a settings file, you
> could even do it with manual settings configuration:
>
Thanks for the link!
Would I real
On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thanks for the link!
> Would I really have to set up my backend app as a Django App?
> Is it required to due to some meta-programming magic?
> ie I'd rather not have to run our app via manage.py/django-admin.
You don't have to build a full
On Feb 7, 1:22 pm, [EMAIL PROTECTED] wrote:
> Thanks for the link!
> Would I really have to set up my backend app as a Django App?
> Is it required to due to some meta-programming magic?
> ie I'd rather not have to run our app via manage.py/django-admin.
let me see if I understand your situation-
Thanks James, I think you've made my day :-)
>
> So long as the settings are configured before this import, and so long
> as you have a models file which includes correct Django model
> definitions, yes it will work.
>
> --
--~--~-~--~~~---~--~~
You received this
> let me see if I understand your situation- you want to replace the
> frontend entirely, and keep your current backend tools. The front end
> has a web interface, the back end is all command-line.
>
> You're thinking about redoing the front end completely, in Django, and
> using the Django ORM in
8 matches
Mail list logo