feat(bible): added bible translation to the output of bible random and bible passage
This commit is contained in:
parent
6be92f05db
commit
3813d3de02
2 changed files with 44 additions and 2 deletions
12
bible/models.py
Normal file
12
bible/models.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
class Version:
|
||||
def __init__(
|
||||
self, abbreviation, language, abbreviationLocal, languageLocal, copyright
|
||||
):
|
||||
self.abbreviation = abbreviation
|
||||
self.language = language
|
||||
self.abbreviationLocal = abbreviationLocal
|
||||
self.languageLocal = languageLocal
|
||||
self.copyright = copyright
|
||||
|
||||
def __str__(self):
|
||||
return self.abbreviationLocal
|
Loading…
Add table
Add a link
Reference in a new issue