Fix whitespace in CHANGES.txt to permit build.
Add "Before You Begin" section.
| | |
| | | .. code-block:: python |
| | | |
| | | class IResource(Interface): |
| | | |
| | | ... |
| | | |
| | | @view_config(context=IResource) |
| | | def get(context, request): |
| | | |
| | | ... |
| | | |
| | | @view_config(context=IResource, request_method='POST') |
| | | def post(context, request): |
| | | |
| | | ... |
| | | |
| | | @view_config(context=IResource, request_method='DELETE') |
| | | def delete(context, request): |
| | | |
| | | ... |
| | | |
| | | @implementor(IResource) |
| | | class MyResource: |
| | | |
| | | ... |
| | | |
| | | @view_config(context=MyResource, request_method='POST') |
| | | def override_post(context, request): |
| | | |
| | | ... |
| | | |
| | | Previously the override_post view registration would hide the get |
| | |
| | | Installation |
| | | ============ |
| | | |
| | | Preparation |
| | | =========== |
| | | Before You Begin |
| | | ================ |
| | | |
| | | Installation Requirements |
| | | ------------------------- |
| | | |
| | | Follow the steps in :ref:`installing_chapter`, but name the virtualenv |
| | | directory ``pyramidtut``. |
| | | directory ``pyramidtut``. Following these steps will ensure you have met the |
| | | following requirements: |
| | | |
| | | Preparation, UNIX |
| | | * Python interpreter is installed on your operating system |
| | | * :term:`setuptools` or :term:`distribute` is installed |
| | | * :term:`virtualenv` is installed |
| | | * a virtual Python environment named ``pyramidtut`` has been created |
| | | * Pyramid is installed |
| | | |
| | | UNIX Requirements |
| | | ----------------- |
| | | |
| | | #. Install SQLite3 and its development packages if you don't already |
| | |
| | | |
| | | $ cd pyramidtut |
| | | |
| | | |
| | | Preparation, Windows |
| | | Windows Requirements |
| | | -------------------- |
| | | |
| | | #. Switch to the ``pyramidtut`` directory: |