Friday, December 28, 2012

Working with Django from a Shell

I do fully intend to deploy django on my web-server, but so far I havn't made it off of my development platform.
Right now, I primarily use the built in test server, and do most of my composition using the template system.

I know there are other systems designed with document publishing in mind, but with the direction django has been taking me, I might be ditching Adobe InDesign within a few weeks in favor of Django!!!
I remember once upon a time I tried to get serious with Latex, but it just wasnt meant to be. I think it is the power of python that really draws me in, along with the automagic of Django.

I want to use Django for some pretty heavy content layout and organization, but a large portion of my data feed still comes from custom python backends, and the final raw products are fed into Adobe Acrobat.
What I need is to keep my Django framework, but bypass the HTTP! (only for this part of the project. Im still going to need network availability before long)  

The biggest problems I forsee would be with memory management, and huge request processing times. It would be much easier if I could give Django batches of requests, have it crawl over the raw data feeds at its leisure, and pipe the pretty outputs (HTML based) into structured directories, and then start feeding Acrobat for my final PDFs.

With all of the other functionality I see, Im surprised that there isn't a way to feed fake "URL Requests" through django-admin.py or something like that, and have it dump the output to a file or even within the context of the python interpreter.

Has anybody else tried to use Django without its *Web* interfaces? The the more raw, the better. I know its not exactly meant for it, but hell, why not. Go and automate Adobe and M$ office with ECMAscript on one side and .NET on the other... Pure python just sounds so nice.

--
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/-/kTTciAEV5QkJ.
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