Monday, October 24, 2016

Re: Running django on demand via my PyQt4 Standalone app

Hello,

I think installing Django purely for its ORM is a huge overkill. Why not, for example, SQLAlchemy? Or Qt's own DB layer (I'm making an educated guess here; if GTK has one, maybe Qt has its own, too.)

If you actually want to use the web framework functionality, though, that's another story, but that requires a web view in your desktop app. I'm not sure that's the way I'd go unless the web front-end is already working (in which case why bother making a desktop app?)

Best,
Gergely


On Mon, Oct 24, 2016, 23:14 Vinicius Assef <viniciusban@gmail.com> wrote:
On 24 October 2016 at 16:30, Avraham Serour <tovmeod@gmail.com> wrote:
>
> Django is a webframework, but it is not an all or nothing thing, you don't
> need to use everything, you may just use the ORM, define your models, import
> them from your application.

This is an interesting scenario, Avraham.

I can't imagine how settings.py would be called to configure database
stuff. Could you?

It made me curious about that.

--
Vinicius Assef

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFmXjSCZua21SHr9GWTLvAU1iAqfqN70rG7Jq07o98Y_zQU89w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBULVi1-REynw_9f1yCKrkERyipb_yer8Sz9RROp_j7N20A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment