Skip to content

Conversation

@Ysajid
Copy link
Contributor

@Ysajid Ysajid commented Jun 13, 2020

No description provided.

models.py Outdated
'total_hadith': self.totalhadith,
'has_chapters': self.haschapters,
'short_intro': self.shortintro,
'numhadith': self.numhadith,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the underscore (especially since total_hadith has an underscore). And maybe call it num_available_hadith. And we can explain the difference in the documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, I intended to do so. But somehow missed. 👍

models.py Outdated
'name_ar': self.arabicBookName,
'first_hadith_number': self.firstNumber,
'last_hadith_number': self.lastNumber,
'total_hadith_number': self.totalNumber
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call this one number_of_narrations instead. And the others narration_start_number and narration_end_number.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahadith should I make change the hadith in other places to narration as well. So that. it is consistent?

@ahadith ahadith merged commit be55dcc into sunnah-com:master Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants