Hi, all! I have a some little project that consists news list, several text blocks and else All worked... But after adding, for example news, it not publish on main page while apache restart(reload). This problem haven't regularity.
model.py: class News(models.Model): title = models.CharField("Заголовок", maxlength=250) category = models.ForeignKey(NewsCategories, verbose_name="Категория") preview = models.TextField("Сокращенный вариант") body = models.TextField("Полный текст") created = models.DateTimeField("Добавлена", auto_now_add=True) hot = models.BooleanField("Горячая новость") views.py (example for news): context = { 'hot_news': News.objects.filter(hot=True).order_by('-created')[0], } return render_to_response('index.html', context) I try CACHE_BACKEND = 'dummy:///' and have same result I look at sql log - django didn't query that, but always query lists, for example: context["news_list"] = News.objects.filter(hot=False).order_by('- created')[:5] what is this? mod_python? caching? # django-admin.py --version 0.97-pre-SVN-7810 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---