Templates html error

2018-06-28 Thread emmanuel wyckens
Hello, I'am trying to use templates html files, but I've got some errors like this: TemplateDoesNotExist at /blog/mabase. It's seems that {% include 'navbar.html' %} is never find in template folders, but which folder to be used ? Thanks in advance to help me Emmanuel -- You received this me

Re: Templates html error

2018-06-28 Thread Tim Vogt (Tim Vogt)
/blog/mabase your structure must be /blog/mabase/templates/mabase/index.html TIm > Op 28 jun. 2018, om 15:35 heeft emmanuel wyckens het > volgende geschreven: > > /blog/mabase -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-06-28 Thread Bruce Whealton
Hello all, For a long time, this has perplexed me and I cannot find the answer. It is a crucial recommendation for deploying Django (or any Python app for that matter) into production. Here is the issue. I have two web hosting accounts, one is VPS with ssh root access. The other i

Re: Isolated virtualenv and mod_wsgi - how do I do this on Apache

2018-06-28 Thread Gerardo Palazuelos Guerrero
hi Bruce, I found this link as part of a django training I did in a udemy course ( https://www.udemy.com/the-ultimate-beginners-guide-to-django-python-web-dev-website ). Link is: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04

Re: Django's cache framework problem

2018-06-28 Thread 林挺滨
This is my fault. When I execute "cache.set(key, model_instance)", the model instance hasn't get the cache content. 林挺滨 于2018年6月28日周四 下午1:33写道: > I use cache api to keep model instances, but "@cache_property" isn't > work. Now I use the module global var to keep model instances. > > 赖信桃 于2018年6