Re: how to display the number of views of an article with django

2019-12-18 Thread Binoy U
Making the answer with the assumption that article is a modal. You can add a field named count(PostiveIntegerField) and increment the count every time an article is viewed. I hope you have implemented article view as a DetailView or similar function view. On Wednesday, December 18, 2019 at 4:2

Re: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-29 Thread Binoy U
Hello Simon, Thank you for the reply. I have changed it as you mentioned and it's working now. I will raise an issue to update the documentation. On Monday, January 28, 2019 at 1:20:24 PM UTC+1, Binoy U wrote: > > Hello, > > I have created a django project with only one appli

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet with Django’s user database authentication from Apache

2019-01-28 Thread Binoy U
Hello, I have created a django project with only one application. I haven't made any changes in the application. Only added the application to the settings and updated static and media urls. Migration is done and super user was created. I have configured apache(version:2.4.29) and mod_wsgi(4.5