--
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...@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/f45e774a-5284-4078-92b2-8813deb9ddd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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
--
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...@googlegroups.com.
To post to this group, send email to django...@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.
--
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...@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 the user to control all devices @home, its a home Automatisation Controlling UI (wirten in PyQt)and second part - the web part (django) i need to setup the whole system, to add new hardware micro controller to customize the whole UI. I could add the whole settings / customizing stuff to the UI but from the user experience side it would not be optimal, u know what i mean? This UI should be only to Control not to setup things.
@all others
now the SQL part in PyQt i do whit QSql and its ok for me,if i use django it's not a problem for me to use only for the web part the django way.
Why i would use django because in the future i will develop some Smart Phone app to Control the system too and i read that django add automatically some API what make me easier to add the communication between the mobile app and my standalone application
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/KKWwFzk9Z5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@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/20b836f6-ca70-45e6-aa55-906cb125754e%40googlegroups.com.
import os
import sys
lib_path = os.path.abspath("[path to Django project]")
sys.path.append(lib_path)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
import django
django.setup()
from [app].models import L1_requirement, L2_requirement, ...
I can then use the Django methods on my_model.objects to get, filter, save my various requirement models.