Help me with django templates

2009-12-09 Thread Biju Varghese
{%for jobsp in jobspecs%} {%ifequal jobsp.id jobtitle.jobspec_id %} {{jobsp.id}} {%endifequal%} {%endfor%} -select- {%for jobspec

Re: Help me with django templates

2009-12-11 Thread Biju Varghese
I got it error was i was trying to check to two different data types one was an integer and other was a string like 1 and '1' On Dec 9, 8:34 pm, Daniel Roseman wrote: > On Dec 9, 2:18 pm, Biju Varghese wrote: > > > > >            

Re: Django editor for Debian

2009-12-16 Thread Biju Varghese
On Dec 16, 12:58 pm, NMarcu wrote: > Hello all, > >    Can you tell me a good Django editor for Debian? Something more > pretty then default text editor. Something to can edit templates also. > Thanks. You could use eclipse ide for this with pydev or try aptana ide -- You received this messa

Re: Django Settings File - Where is it?

2009-12-18 Thread Biju Varghese
create a project with django-admin.py startproject project1 and this will create a folder named project1 and check in this foder will have settings.py urls.py manage.py and __init__.py etc. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Django IDE

2010-07-18 Thread Biju Varghese
Eclipse is the best IDE for python and django. On Jul 17, 8:53 pm, Jitendra Joshi wrote: > What is the best open source Django IDE ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups

Re: Is it ok to use double quotes instead of single quotes in Field.choices?

2009-12-27 Thread Biju Varghese
Dear , Just check how you are creating that string.(1,'i'm looking for...') you are giving it like 'i'm . Effectively your string will be only 'I' and remaining part will be taken as a undefined variable or something like that. if you want to make it correct you have to add escape sequence like 'i\

Re: TemplateSyntaxError: 'if' statement improperly formatted

2010-01-03 Thread Biju Varghese
hi If you want to compare the value you have to use ifequal or ifnotequal tag in template language. if you use "if" this will check only weather the variable is empty or not -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: why does if statement fail with

2010-01-08 Thread Biju Varghese
if statement in template language checks only whether the variable is empty or not... comparison can be done with other variants of if such as ifequals ifnotequal etc... -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send