djc.recipe2

A Django buildout recipe
Download

djc.recipe2 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Simone Deponti
  • Publisher web site:
  • http://open.abstract.it/

djc.recipe2 Tags


djc.recipe2 Description

djc.recipe2 is a buildout recipe that allows you to setup a Django project through zc.buildout.UsageIn order to use this recipe, create a buildout as follows:parts = myprojectrecipe = djc.recipe2And then create a python module in sites/< part_name >_site_config containing the settings.py file.The buildout will take care of creating a manage script at bin/django and a WSGI app to serve the project in production at parts/myproject/myproject_part_site/wsgi.py.In our example, this will result in the following file structure:< buildout_root >||- bin| || |- ...| || |- django # the manage.py script||- ...||- parts| || |- myproject| || |- myproject_part_site # put this on PYTHONPATH when serving via WSGI| || |- __init__.py| || |- ...| || |- wsgi.py # WSGI app and paster app factory||- ...||- sites| || |- myproject_site_config| || |- __init__.py # void| || |- settings.py # your settings here||- ...For all the options and detailed documentation, see below.Product's homepage


djc.recipe2 Related Software