jinja2 to print doesn't exist Variables

2017-08-15 Thread 李余通
Hello every: http://jinja.pocoo.org/docs/2.9/templates/#variables In Django template language: if {{ var }} doesn't exist,it will print nothing,the jinja2's document said it will print noting default,however it print "{{ var }}"?how to change it to noting whithout chang tags "{{ var }}". ps : {{

Re: regarding virtualenv and python version 3.5 or 3.4 or other versions

2017-08-15 Thread Seo Brain
Hi Avraham Thanks. I did install the python V3.6 on my dev-server ubuntu 14.04 by using this https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get //also map 3.6.2 to python3 folder by this way sudo rm python3 sudo ln -s python3.5 python3 python -V shows v3.6.2 su

Re: Can only get "manage.py runserver" if I use python3 instead of python

2017-08-15 Thread Antonis Christofides
Hi, The Python 3 installation is completely separate from Python 2 (the same would hold if you had both 2.7 or 2.6, or 3.6.0 and 3.6.1; each Python version you have installed on the system is completely separate from the others). Somehow when you originally installed Django, you did so in Python 3

Can only get "manage.py runserver" if I use python3 instead of python

2017-08-15 Thread Ja Cre
I have been working through the initial tutorial and ran into a load of issues with my anaconda install using python 2.7. In the end it wouldn't launch the server. Anyway, I decided to change up on my machine to python3. That said, I am now getting strange results which are: If I use the termi

Using Django with Ingres DB

2017-08-15 Thread jimsmith13386
Hi Does anyone know if it's possible to easily use an Ingres database with Django? Many thanks Jim -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-use

Re: How to add logo to django header

2017-08-15 Thread Volodymyr Kirichinets
Hi, You can do this with base_site.html just change all of You need. On Mon, Aug 14, 2017 at 5:17 PM, Yogesh Mishra wrote: > Thanx > > On Thursday, July 28, 2016 at 1:36:17 PM UTC+5:30, Gauri Shirsath wrote: >> >> Hi, >> >> I want to show company logo instead of 'Django Administrator' heading. >