Skip to content

Commit

Permalink
fix: request in link ph
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Jul 16, 2021
1 parent e1d005e commit 784d9d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_requirements(fname='requirements.txt'):

setup(
name="unicms",
version='0.22.6',
version='0.22.7',
description="uniCMS is a Django Web Content Management System",
long_description=README,
long_description_content_type='text/markdown',
Expand Down
3 changes: 2 additions & 1 deletion src/cms/templates/placeholders.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def __init__(self, context:dict, content:dict):

def build_data_dict(self):
data = {'name': self.entry.name,
'url': self.entry.url}
'url': self.entry.url,
'request': self.request}
return {**self.content,**data}


Expand Down

0 comments on commit 784d9d7

Please sign in to comment.