Set application version number in settings

This commit is contained in:
Mouse Reeve
2020-12-30 11:55:13 -08:00
parent 673d70aca9
commit 5623c268d6
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ from django.http import JsonResponse
from django.utils import timezone
from bookwyrm import models
from bookwyrm.settings import DOMAIN
from bookwyrm.settings import DOMAIN, VERSION
def webfinger(request):
@ -76,7 +76,7 @@ def nodeinfo(request):
'version': '2.0',
'software': {
'name': 'bookwyrm',
'version': '0.0.1'
'version': VERSION
},
'protocols': [
'activitypub'