captcha field django form designer, success html mail.

2013-06-19 Thread pradnya
Hi !, I am working on django cms based website. Where I used django form designer( https://github.com/samluescher/django-form-designer) Now I want to integrate djago-recaptcha with django form designer to add captch field in form. In django-form-designer settings.py FIELD_CLASSES =

error in Poll choice example

2012-06-13 Thread pradnya bora
--error-- Reverse for 'polls.views.results' with arguments '(2L,)' and keyword arguments '{}' not found.Request Method: POST Request URL: http://127.0.0.1:8000/polls/2/vote/ Django Version: 1.5 Exception Type: NoReverseMatch Exception Value: Reverse for

django ajax select

2011-10-30 Thread pradnya
Hi, i m using ajax select plugin in my project which i got from https://github.com/crucialfelix/django-ajax-selects . now i want to know how can i use it in django admin's tabular inline ? Thanks Pradnya -- You received this message because you are subscribed to the Google Groups "D

enabling readonly inlines

2011-08-02 Thread pradnya
Hi I have two models namely Test and UserTest with one to many relationship.In TestAdmin i have tabular inline for UserTest. I can add or delete test but can't modify test's fields but in same object i can add UserTest model but can't modify previously added UserTest. So i kept it as

Converting plain string to dictionary

2010-11-12 Thread Pradnya
Hello, I have a string as s = "{a : b, c : 2}" I want to convert this string to json object. There are no quotes inside the string that means it's not like "{'a' : 'b', 'c' : 2}", so when I tried to convert this string to json using eval() it's throwing exception. Please let me know if there is

Passing file to .net web service

2010-10-19 Thread Pradnya
o .net web service? Please suggest. Thanks Pradnya -- 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.com. To unsubscribe from this group, send email to django-users+unsubscr

How to get contents of file in binary format

2010-10-17 Thread Pradnya
I am using Djnago 1.1 and python 2.6 I have a file opened in memory and now wnat the contents of the file in binary format. Is there anyway I can convert a fine into binary format or can get the binary Array of file contents? -- You received this message because you are subscribed to the Google

How to convert a file into byte stream

2010-10-17 Thread Pradnya
want to use it. Please suggest. Thanks Pradnya -- 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.com. To unsubscribe from this group, send email to django-user

Re: How to check a long string has a particular word in it

2010-09-15 Thread Pradnya
hey thanks but that solution is fine for django 1.2 it's not working in 1.1 is ther somting like split function that we can use in html template On Sep 15, 5:00 pm, Piotr Kilczuk wrote: > Hi, > > > eg. I have test.html and I am passing {resut : 'test application for > >

How to check a long string has a particular word in it

2010-09-15 Thread Pradnya
Hello, I am using django 1.1 and want to find a word from the string passed to the HTML template. eg. I have test.html and I am passing {resut : 'test application for test'} now I want to check if the world application is there on not in result. Please suggest the simplest method without using

Re: fetching values from model

2010-09-02 Thread Pradnya
presentation. For the most part, if you want to > call a function, call it in the view. > -Justin > > On Sep 1, 11:02 pm, Pradnya <pradnya.pa...@gmail.com> wrote: > > > Hey thanks, > > Is there anyway I can call a function in HTML template? > > > On Sep

Re: fetching values from model

2010-09-01 Thread Pradnya
Hey thanks, Is there anyway I can call a function in HTML template? On Sep 1, 6:23 pm, Steve Holden <holden...@gmail.com> wrote: > On 9/1/2010 9:13 AM, Pradnya wrote:>> ok. Is there any way I can load the > model inside HTML template? > >> What is {% load  %} tag

Re: fetching values from model

2010-09-01 Thread Pradnya
Hey thanks, Is there anyway I can call a function in HTML template? On Sep 1, 6:23 pm, Steve Holden <holden...@gmail.com> wrote: > On 9/1/2010 9:13 AM, Pradnya wrote:>> ok. Is there any way I can load the > model inside HTML template? > >> What is {% load  %} tag

Re: fetching values from model

2010-09-01 Thread Pradnya
ass values from your views to your template and show them there. > Or generate the HTML in your view and show it from there, which isn't > something I could advise if you're creating a larger application. > > Op 1-sep-2010, om 14:53 heeft Pradnya het volgende geschreven: > >

Re: fetching values from model

2010-09-01 Thread Pradnya
can pass values from your views to your template and show them there. > Or generate the HTML in your view and show it from there, which isn't > something I could advise if you're creating a larger application. > > Op 1-sep-2010, om 14:53 heeft Pradnya het volgende geschreven: > >

fetching values from model

2010-09-01 Thread Pradnya
Hello, Is it possible to fetch a particular record from model using school.object.get(id = 1) inside html template. Please suggest. Thanks Pradnya -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: How to find the file / directory which is hidden?

2010-04-12 Thread Pradnya
aqs.org/docs/securing/chap5sec62.html > you need to write and script to run these commands. > I just give you small example > > import command > command.getoutput('ls') > > which will list you all the dir(s) and file(s). > regards > Praveen > > On Apr 12, 5:47 pm, Pr

How to find the file / directory which is hidden?

2010-04-12 Thread Pradnya
Hello, I am using Django with Python on windows. I want to list the files from specific directory and want to highlight files / directories which are hidden. How to recognize a file / directory as it's hidden? This particular application could be running on Unix / Linux platform. Is there any

django files based sessions

2010-04-03 Thread Pradnya
I am using windows XP and Python with django 1. changed the SESSION_ENGINE to 'django.contrib.sessions.backends.file' 2. SESSION_FILE_PATH = 'd:/tmp' 3. In view.py defined 2 methods/views as follows def show_login(request): request.session['test'] = "Hello World" return