Re: reverse drops the project from the url returned

2009-12-28 Thread Raja
Are you running it through a mod-python handler? From your urls.py, it looks like it would handle ^support as the first level match and then continue for "/case", so the reverse URL seems to be correct, i.e. / support/case/1. How are you tacking the "/helpdesk" to your request initially? On Dec

Re: Mysql triggers with django

2009-12-28 Thread Marc Aymerich
On Tue, Dec 29, 2009 at 5:47 AM, Marc Aymerich wrote: > well, I found this one. > > http://www.eflorenzano.com/blog/post/database-triggers-arent-evil-and-they-actually-kin/ > > I've tried to implement something like that in mysql with my model but I > get this error: > > _mysql_exceptions.Program

Re: Mysql triggers with django

2009-12-28 Thread Marc Aymerich
well, I found this one. http://www.eflorenzano.com/blog/post/database-triggers-arent-evil-and-they-actually-kin/ I've tried to implement something like that in mysql with my model but I get this error: _mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run this command no

Mysql triggers with django

2009-12-28 Thread Marc Aymerich
Hello, Is possible to implement mysql triggers with django?? there are some documentation about it? Thanks!! Marc -- 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

reverse drops the project from the url returned

2009-12-28 Thread davathar
I'm stuck on a "reverse" problem. The 'case' view is supposed to record posted info, then reload the same page. But it's dropping the first part of the URL on the redirect and I've not been able to figure out why. It should be going to .com/helpdesk/support/case/1/ But it's going to .com/suppor

Re: JavaScript function call

2009-12-28 Thread gilbert F.
Hi Kevin, Sorry I could not make progress therefore I am considering to use jQuery. As I never used it, can I have your jQuery code for reference? You may send to my e-mail gilber...@gamil.com Thanks so much. On Dec 28, 9:19 am, "gilbert F." wrote: > Hi Kevin, > > Thanks so much for your repli

Re: Testing and request META data

2009-12-28 Thread Phlip
> Now how do I test an action that must use SSL? (I want a 304 bounce > message if the user tries to use plain text.) This looks promising! class SSLAwareClient(Client): def __init__(self, *args, **kwargs): super(SSLAwareClient, self).__init__(*args, **kwargs) self.ssl = False

Re: Get name from request.path

2009-12-28 Thread kelvan . mailinglist
I've the site_name with link to the required permission in the db to show only menu entries the user is allowed to see. It's ugly but I couldn't find a nicer way. The menus can have a parent if it's a submenu, so I need to know the actual mainmenu to load the submenus. If you know a nice way to

Re: JavaScript function call

2009-12-28 Thread gilbert F.
Hi Kevin, Thanks so much for your replies. Following your suggestions I have moved tag out of .