From 1e18e278e3a1c8b67582ecd610551a6ff9c92e43 Mon Sep 17 00:00:00 2001 From: Jon Pentland Date: Fri, 4 Nov 2016 17:53:44 +0000 Subject: [PATCH] Fix licence classifier, update readme. --- README.rst | 5 +++-- setup.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index a0bff80..59d76c8 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ and edit `production.ini` in your Pyramid application to add:: pyramid_recaptcha.private_key = your_private_key -Add the widget to a form: +Add the widget to a form:: import colander from pyramid_recaptcha import deferred_recaptcha_widget @@ -29,6 +29,7 @@ Add the widget to a form: title='Verify you are human', widget=deferred_recaptcha_widget) -Bind the `request` variable when rendering the form: + +Bind the `request` variable when rendering the form:: MyForm().bind(request=self.request) diff --git a/setup.py b/setup.py index bf9131c..934cc29 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def read_requirements(filename): 'Framework :: Pylons', 'Framework :: Pyramid', 'Intended Audience :: Developers', - 'License :: GPLv3', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7',