A new paster's http factory on fire: dj.paste
I made for a workmate yet another django paste's http factory.
The goals were to integrate its way to work, with setting some DJANGO_SETTINGS_MODULE key in the environment and launch the "bidule", and letz play.
The challenge was, ..., to be simple or this workmate will never use this stuff. She was used to tell only about django-admin runserver :).
One part of the challenge was to show some interessant things that we can do with paste configurations, like having different but closer configurations for production or development mode.
Thus, including showing the nice "WebError#eval" application where you can debug your messy code though the web with an interactive debugger.
But, right to the topic, the dj.paste stuff:
- It enables you to have multiple tracs in the same pipeline
- You can integrate it in an exiting paste configuration, it's the goal after all :)
- It 's simple to use, an a sample paste configuration can be:
[composite:main]
use = egg:Paste#urlmap
/ = foo
[app:foo]
use=egg:dj.paste
django_settings_module=foo.settings


