Re: Running django on demand via my PyQt4 Standalone app

2016-10-27 Thread Leslie Jeffries
I have a Django project that is used to view complex data for use by Systems Engineers who are analyzing requirements traceability. Django works great for the viewing of data in lots of differing views. The templating system is awesome for that. However the data that is being viewed is coming

Re: Running django on demand via my PyQt4 Standalone app

2016-10-26 Thread Dam ian
yeah you are right with the WoW effect :) and i know this framework but its to complex for me :P i prefere to use PyQt4, for example you have something like QT Designer where you can graphically deploy and customize the whole UI and then convert to pure python, what make me my work easier. If

Re: Running django on demand via my PyQt4 Standalone app

2016-10-25 Thread Mario R. Osorio
I used to do home automation, so I know you need an interface with very high "WOW!" factor AND PORTABILITY. That is why I proposed you check kivy ( http://kivy.org). kivy is the kick-ass interface I'd use, bar none. this of course my opinion and recomendation, but you know YAHOO. Dtb/Gby

Re: Running django on demand via my PyQt4 Standalone app

2016-10-25 Thread Dam ian
Hi again, and thanks for the answer and Tips @Mario R. Osorio >I cannot understand is why would you need django for admin, but use some other standalone (desktop?) application for everything else. You should try and stay either on the django or on the standalone application. i think i

Re: Running django on demand via my PyQt4 Standalone app

2016-10-25 Thread Mario R. Osorio
I cannot understand is why would you need django for admin, but use some other standalone (desktop?) application for everything else. You should try and stay either on the django or on the standalone application. If after further analysis you still think you need both, then I'd use django,

Re: Running django on demand via my PyQt4 Standalone app

2016-10-25 Thread Vinicius Assef
Absolutely! :-D Thank you. On 24 October 2016 at 21:01, Avraham Serour wrote: > does this help? > > https://docs.djangoproject.com/en/1.10/topics/settings/#calling-django-setup-is-required-for-standalone-django-usage > > > On Tue, Oct 25, 2016 at 12:13 AM, Vinicius Assef

Re: Running django on demand via my PyQt4 Standalone app

2016-10-24 Thread Avraham Serour
does this help? https://docs.djangoproject.com/en/1.10/topics/settings/#calling-django-setup-is-required-for-standalone-django-usage On Tue, Oct 25, 2016 at 12:13 AM, Vinicius Assef wrote: > On 24 October 2016 at 16:30, Avraham Serour wrote: > > > >

Re: Running django on demand via my PyQt4 Standalone app

2016-10-24 Thread Gergely Polonkai
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

Re: Running django on demand via my PyQt4 Standalone app

2016-10-24 Thread Vinicius Assef
On 24 October 2016 at 16:30, Avraham Serour 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,

Re: Running django on demand via my PyQt4 Standalone app

2016-10-24 Thread Avraham Serour
> Q1: Is it good idea to start a new QThread who runs the script os.system("web/manage.py runserver")? No, don't do that. > Q3: If no - what is the best method to start a django server on demand via my PyQt4 App and to stop it? If the idea is to use django from within a desktop app, you don't

Running django on demand via my PyQt4 Standalone app

2016-10-24 Thread Dam ian
Hi, I work on some Smart Home UI / Controlling system using PyQt4, now I'm in the point where i need a Web Server to share a "Admin Page" to let the user change some Smart Home settings (via web page of course :p ). I searched the internet for a answer / idea and I think that the django server