Re: Grouping lists in a template

2015-07-13 Thread anotherdjangonewby
Another approach would be to build a list of dictionaries based on the query and pass this to the template instead of the pure llst of books: [{ publisher: 'Publisher X', books: ['Book A', 'Book B'] }], So the logic remains in the code and not in the template. Kai Am 13.07.2015

Re: Development Server Ignores IP-address Parameter

2015-07-16 Thread anotherdjangonewby
When switching to debug=False I had also problems connecting my debug-server. For me I had to specify the server IP-address in the settings: ALLOWED_HOSTS = ['localhost', '127.0.0.1', '192.168.1.21'] Maybe this helps. Kai Am 16.07.2015 um 20:28 schrieb John : try: python manage.py [::

var1 = var2 = var3

2016-02-16 Thread anotherdjangonewby
Hi, this may be a bit off-topic, but: How are expressions like: var1 = var2 = var3 called Python. Without a hint I cannot goolge this. Thanks Kai -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei