Added Flask-XML-RPC
This commit is contained in:
parent
c882905101
commit
e3a7383e90
2 changed files with 16 additions and 4 deletions
|
|
@ -28,7 +28,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if extension.github %}
|
{% if extension.github %}
|
||||||
<dt>On Github:
|
<dt>On Github:
|
||||||
<dd><a href="http://github.com/{{ extension.github }}">{{ extension.github }}</a>
|
<dd><a href="http://github.com/{{ extension.github }}/">{{ extension.github }}</a>
|
||||||
|
{% endif %}
|
||||||
|
{% if extension.bitbucket %}
|
||||||
|
<dt>On Bitbucket:
|
||||||
|
<dd><a href="http://bitbucket.org/{{ extension.bitbucket }}/">{{ extension.bitbucket }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,12 @@ extensions = Module(__name__, url_prefix='/extensions')
|
||||||
class Extension(object):
|
class Extension(object):
|
||||||
|
|
||||||
def __init__(self, name, author, description,
|
def __init__(self, name, author, description,
|
||||||
github=None, docs=None, website=None):
|
github=None, bitbucket=None, docs=None, website=None):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.author = author
|
self.author = author
|
||||||
self.description = Markup(description)
|
self.description = Markup(description)
|
||||||
self.github = github
|
self.github = github
|
||||||
|
self.bitbucket = bitbucket
|
||||||
self.docs = docs
|
self.docs = docs
|
||||||
self.website = website
|
self.website = website
|
||||||
|
|
||||||
|
|
@ -30,14 +31,21 @@ database = [
|
||||||
<p>Adds <a href="http://oauth.net/">OAuth</a> support to Flask.
|
<p>Adds <a href="http://oauth.net/">OAuth</a> support to Flask.
|
||||||
''',
|
''',
|
||||||
github='mitsuhiko/flask-oauth',
|
github='mitsuhiko/flask-oauth',
|
||||||
docs='http://packages.python.org/Flask-OAuth'
|
docs='http://packages.python.org/Flask-OAuth/'
|
||||||
),
|
),
|
||||||
Extension('Flask-OpenID', 'Armin Ronacher',
|
Extension('Flask-OpenID', 'Armin Ronacher',
|
||||||
description='''
|
description='''
|
||||||
<p>Adds <a href="http://openid.net/">OpenID</a> support to Flask.
|
<p>Adds <a href="http://openid.net/">OpenID</a> support to Flask.
|
||||||
''',
|
''',
|
||||||
github='mitsuhiko/flask-openid',
|
github='mitsuhiko/flask-openid',
|
||||||
docs='http://packages.python.org/Flask-OpenID'
|
docs='http://packages.python.org/Flask-OpenID/'
|
||||||
|
),
|
||||||
|
Extension('Flask-XML-RPC', 'Matthew Frazier',
|
||||||
|
description='''
|
||||||
|
<p>Adds <a href="http://www.xmlrpc.com/">XML-RPC</a> support to Flask.
|
||||||
|
''',
|
||||||
|
bitbucket='leafstorm/flask-xml-rpc',
|
||||||
|
docs='http://packages.python.org/Flask-XML-RPC/'
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
database.sort(key=lambda x: x.name.lower())
|
database.sort(key=lambda x: x.name.lower())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue