Re: List of available Jinja2 global symbols

2015-11-23 Thread Carl Meyer
On 11/22/2015 06:21 PM, Patrick Spencer wrote: > I see what you mean about not being about to have a global list of > symbols because everything is subject to change. But it would be nice to > have a default list of symbols available depending on the default > initial setup. Yes, the default

Re: Django formtools wizard with variable number of steps?

2015-11-23 Thread Luis Zárate
Did you see this https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/ ? El lunes, 23 de noviembre de 2015, Shawn H escribió: > I'm wondering if I can use django-formtools to accomplish what I want to. I have a License object, with a one to many

Re: Start Django automatically after restarting development system/server in Linux

2015-11-23 Thread Luis Zárate
Why I want to start a debug Django server after restating? I am searching an scenario. El viernes, 20 de noviembre de 2015, vidhi khatri escribió: > Hi friends, > Learn how to start Django automatically after restarting development systems/server in Linux. Share your

Re: hanging django/postgres idle connections

2015-11-23 Thread Jon Sandness
I'm seeing this same issue in OS X 10.11.1 - interestingly, the hang only occurs when I run migrations through Jenkins. If I manually run the command inside of a VirtualBox session, it works as expected. Jon On Friday, August 1, 2014 at 6:41:53 AM UTC-7, Jani Kajala wrote: > > Haven't tried

Custom error_messages

2015-11-23 Thread Peter Maciejko
This day I have read the mass of information about overiding form default error_messages and I just can not handle it. I do not know what is wrong with my code and why my custom message does not work: ###forms.py### # -*- coding: utf-8 -*- from django import forms from django.forms import

Django formtools wizard with variable number of steps?

2015-11-23 Thread Shawn H
I'm wondering if I can use django-formtools to accomplish what I want to. I have a License object, with a one to many relationship to LicenseArea. The number of LicenseArea objects varies for each license, so I would like a wizard that has: Step 0 - the license data Step 1 - the common data

Django 1.8 ISAPI WSGI and IIS

2015-11-23 Thread aleksandra.tarkow...@googlemail.com
Hello, I have been trying to migrate django app from 1.6 to 1.8. All looks good on unix, When it comes to Windows, ISAPI WSGI and IIS I am facing an issue when rendering custom login page Traceback (most recent call last): File "c:\OMERO.server\lib\python\omeroweb\webclient\views.py", line

redirecting to home page instead of given route

2015-11-23 Thread venkat
I'm new to django. I'm trying to save bookmark collected from form . But it is not getting saved in DB and also it is redirecting to home page def bookmark_save_page(request): if request.method == 'POST': form = BookmarkSaveForm(request.POST) if form.is_valid():

Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2015-11-23 Thread knbk
Python 3 displays the original exception alongside the new exception when a new exception occurs in an except block. The AttributeError is expected, so this doesn't tell you anything about what goes wrong. The second error occurs when importing `self.urlconf_name`. The traceback should point

Re: AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'

2015-11-23 Thread KwangYoun Jung
Did you solve the issue? On Tuesday, July 2, 2013 at 8:14:00 PM UTC+9, Pratik Mandrekar wrote: > > Hello, > > > I keep getting the error *AttributeError: 'RegexURLResolver' object has > no attribute '_urlconf_module' *and the only trace available is as shown > below: > > 'RegexURLResolver'

Re: How to search by country using django-countries?

2015-11-23 Thread Andreas Kuhne
HI Jorge, What do you mean you want to search by country? I think the easiest way would be to add a filter for the country field in admin. The thing is with the countries plugin, you only save the 2-letter version of the country (for example GB for Great Britain, ES for Spain, SE for Sweden and