mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing API page.
This commit is contained in:
parent
59c624c199
commit
1fe1c055ed
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ def faq(request):
|
|||
return render(request, 'static/faq.xhtml')
|
||||
|
||||
def api(request):
|
||||
filename = settings.TEMPLATE_DIRS[0] + '/static/api.yml'
|
||||
filename = settings.TEMPLATES[0]['DIRS'][0] + '/static/api.yml'
|
||||
api_yml_file = open(filename).read()
|
||||
data = yaml.load(api_yml_file)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue