Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Dec 19, 2016
1 parent 6ed4e5a commit 522290b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -42,7 +42,7 @@

setuptools.setup(
name = "appier",
version = "1.7.47",
version = "1.8.0",
author = "Hive Solutions Lda.",
author_email = "development@hive.pt",
description = "Appier Framework",
Expand Down
6 changes: 5 additions & 1 deletion src/appier/base.py
Expand Up @@ -92,7 +92,7 @@
""" The name to be used to describe the framework while working
on its own environment, this is just a descriptive value """

VERSION = "1.7.47"
VERSION = "1.8.0"
""" The version of the framework that is currently installed
this value may be used for debugging/diagnostic purposes """

Expand Down Expand Up @@ -1689,6 +1689,10 @@ def email(
password = password,
stls = stls
)

def html(self, data, content_type = "text/html"):
self.request.set_content_type(content_type)
return data

def json(
self,
Expand Down

0 comments on commit 522290b

Please sign in to comment.