Closed ishtiaque06 closed 5 years ago
Like other chat applications, use a JS fetch request to get earlier messages from the user and prepend it to the chat section. This would also involve a new view and URL in the urlconf. There will probably be a starting pk for messages to fetched.
Like other chat applications, use a JS fetch request to get earlier messages from the user and prepend it to the chat section. This would also involve a new view and URL in the urlconf. There will probably be a starting pk for messages to fetched.