Thursday, November 24, 2011

Loading django templates/static files from pyrcc4 generated resource file

Hi folks, 

I am writing a PyQt frontend to a django application. Before calling app.exec_() on the qt app i first start up the django development server on a thread and later on access my views through a QtWebView. Since I use the pyrcc4 generated resource file for my qt app I just think it would be a lot cooler if I could do the same with my templates/static files in the django app. Is this possible? Which template loaders will allow me use this approach? 

Thanks in advance! 

Abraham.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xgxKLfOT2l0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment