Re: internal server error not sending message notification

2013-05-04 Thread ?manu*
Hi Ian, you suggestion make perfect sense but I'm currently running django 1.4. Anyway I tried adding those line to my settings, but nothing has changed... Any other suggestion? I don't even know how to debug such an issue... should I insert breakpoints in the django library? E. On Saturday,

Re: Can't open any other view except default "It Worked!" page......

2013-05-04 Thread Vibhu Rishi
Did you : 1. add the polls app to the INSTALLED_APP? 2. modify the urls.py as mentioned below to go to the polls ? Vibhu On Sun, May 5, 2013 at 7:42 AM, Russell Keith-Magee wrote: > > If all you're getting is the "It worked!" page, then it means your urls.py > hasn't

Re: Can't open any other view except default "It Worked!" page......

2013-05-04 Thread Russell Keith-Magee
If all you're getting is the "It worked!" page, then it means your urls.py hasn't been configured correctly. The "It worked" page is displayed when your urls.py is found, but is empty. You'll need to write some views and connect them up in your urls.py; alternatively, you could write up admin

Data concurrency, consistency and serializable

2013-05-04 Thread Qna Share
Are there any reputable libraries (with actual production references like Instagram) to deal with data concurrency, consistency and serializability? A typical scenario is: a race condition caused by two clients. Suppose if someone had two browsers open and simultaneously click on [yes] from

Can't open any other view except default "It Worked!" page......

2013-05-04 Thread Daniel O' Shaughnessy
Hi, This worked fine for me with the polls tutorial app but when I tried another app it kept just giving me that page over and over even though I followed the same procedure as the polls app except I used inspectdb Now this page is all I get for anything and I've tried deleting all

Re: Problem with Django 1.5.1 and django-pyodbc

2013-05-04 Thread Thomas De Reyck
Hi, I had almost exactly the same issue just a week ago. Try using the django-pyodbc-azure fork. It works great for me. Mvg, Thomas De Reyck On 3-mei-2013, at 00:47, Kerry Calvert wrote: > I have Django running on a Windows server with MS Sql using django-pyodbc. I >

Re: Django - Query

2013-05-04 Thread cingusoft
Hi You need to use exceptions to solve this problem try: movieObject=Movie.objects.get(.) except Movie.DoesNotExist: #make the insert query movieObject=Movie() BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: Hélio Miranda

Re: internal server error not sending message notification

2013-05-04 Thread Ian Lewis
Hi, Did you set your LOGGING configuration in your settings.py? If you happened to upgrade to Django 1.5 then the default LOGGING configuration went away and it will no longer sent emails to the admins without some configuration. This is described at the following url where it says "Prior to

Re: Django - Query

2013-05-04 Thread Hélio Miranda
That was it, but now I'm the problem is that, I wonder if there is a movie on BD, but there insert. I am trying as follows, but I do not get: And it gives me the following error: Movie matching query does not exist. The film is not clear ... Does anyone know what I'm doing wrong? Código

internal server error not sending message notification

2013-05-04 Thread ?manu*
I suddenly realized that my server is no more sending email notifications when an internal error occurs. I'm not sure which could be the modification that caused this behavior. I have the following information: 1. on internal errors the server gives an error not founding template file

Re: FW:

2013-05-04 Thread Ian Foote
Sorry for this everyone. My password wasn't strong enough. I've updated it now. Ian On 04/05/13 03:36, Kurtis Mullins wrote: Phishing Web Site (SPAM) On Sat, Apr 6, 2013 at 9:10 PM, Ian Foote > wrote: Snip -- You received this message

pass an element from query to template

2013-05-04 Thread Yulia Shutupandskate
I have a list of tags, and for each element in this list I want to count number of questions, which are related to tags as many-to-many. > def localhost(request): > tag_list = Tag.objects.all() > > #size = Question.objects.filter(tags__pk=tag.pk).count() > > return

how can i remove djangos Django filter lookup function" __search" defalt sql attribute "IN BOOLEAN MODE "

2013-05-04 Thread rohit verma
i am using search method in django to fetch data hname_result = models.Hotel.objects.filter(name__search=hname) its sql equivalen is select name from table where MATCH(name)AGAINST ('value' IN BOOLEAN MODE ) but i want select name from table where MATCH(name)AGAINST ('value' )