Re: popup forms

2010-01-29 Thread Bhaskar Gara
> > http://www.hoboes.com/Mimsy/hacks/replicating-djangos-admin/ > > sometimes its not so clear where to put the code... if you have questions ill > try to help you. > > ill make a "more complete" tutorial on my blog soon. > > > > Bhaskar Gara wrote: >

Re: popup forms

2010-01-28 Thread Bhaskar Gara
Hi Andrew, Do you have any luck on this. I need same functionality. On Nov 30 2009, 5:40 am, andreas schmid wrote: > Emily Rodgers wrote: > > > On Oct 13, 1:20 pm, andreas schmid wrote: > > >> thank you very much for pointing me to the right path!! > >> ill try to understand the behaviour and r

Session Management

2010-01-27 Thread Bhaskar Gara
Hi, Right now I am tracking my subcriber session, I have a new requirement. From our website, the subcriber can go to different website and take the exam. Once he finish that exam, I need to send a request to their database to get the result of that exam. How can I track the second website acti

Re: Python Graph

2010-01-27 Thread Bhaskar Gara
I am really stupid. After cut & Paste I need to double check what i pasted. Thank you very much Dan and sorry for wasting your time. Lesson learned. On Jan 27, 11:16 am, Daniel Hilton wrote: > 2010/1/27 Bhaskar Gara : > > > > > > > No luck. > > > u

Re: Python Graph

2010-01-27 Thread Bhaskar Gara
= graphs.BarGraph('vBar') graph.values = [380, 150, 260, 310, 430] myGraph = graph.create() return render_to_response(template_name, { 'graph': myGraph }, context_instance=RequestContext(request)) thank you Bhask

Re: Python Graph

2010-01-27 Thread Bhaskar Gara
Thank you Dan On Jan 27, 3:40 am, Daniel Hilton wrote: > 2010/1/27 Bhaskar Gara : > > > > > > > Hi, > > >    I am very new to django.  I am trying to use this library for my > > graphs > >http://www.gerd-tentler.de/tools/pygraphs/?page=introduction

Python Graph

2010-01-26 Thread Bhaskar Gara
Hi, I am very new to django. I am trying to use this library for my graphs http://www.gerd-tentler.de/tools/pygraphs/?page=introduction In my Views.py prev_score(request): graph = graphs.BarGraph('vBar') graph.values = [380, 150, 260, 310, 430] print graph.create()

Email field - Memory exception - object at 0xa3c9e8c

2010-01-23 Thread Bhaskar Gara
I am getting error for only emailfield remaining string fields are working fine the Error is DEBUG:root: I am new to django, I am not sure why I am getting that above error. Please help to fix the issue. model.py class Nomination(models.Model): yourname = models.CharField(max_length=30)

Re: NoReverseMatch:

2010-01-17 Thread Bhaskar Gara
Thank you, I am putting same pattern because both tellfriend and hero belongs to same template. refer template has two form. Thank you Bhaskar On Jan 17, 11:25 am, Andreas Pfrengle wrote: > > url(r'^member/refer/$', direct_to_template, > >         {'template': 'member_refer.html'}, name='membe

Re: NoReverseMatch:

2010-01-17 Thread Bhaskar Gara
Thank you, It didn't worked for me. something wrong I am doing. I have a refer.html file which has two form url.py url(r'^member/refer/$', direct_to_template, {'template': 'member_refer.html'}, name='member_refer'), url(r'^refer/$', 'erp_site.views.tellfriend', name='tell_friend'), url

Re: NoReverseMatch:

2010-01-17 Thread Bhaskar Gara
some kind of argument, like a user id, to > generate the URL. > > Having two separate forms with different actions is no problem. Fixing > the URL reversing should clear up your issue. > > Ian > > > > > > On Sunday, January 17, 2010, Bhaskar Gara wrote: > &

NoReverseMatch:

2010-01-16 Thread Bhaskar Gara
Caught an exception while rendering: Reverse for 'tellfriend' with arguments '()' and keyword arguments '{}' not found. I have a html template which has two form My form1 action is empty and form 2 action is as above. I am getting error @ that line. 1) What is the

Permission denied

2010-01-16 Thread Bhaskar Gara
Request Method: POST Request URL: Exception Type:IOError Exception Value:[Errno 13] Permission denied: u'Bhaskar_dsa.xml' Exception Location:/home/erp/webappserp_dev/erp/apps/erp_site/views.py in testimonials, line 238 Python Executable:/usr/local/bin/python Python Version:2.5.4 This is the above