Re: Operate with Postgresql from Django views.

2009-12-21 Thread Nicu Marcu
Yes, this was the problem, thanks for your help. 2009/12/21 Christophe Pettus > > On Dec 21, 2009, at 1:34 AM, NMarcu wrote: > > Everything is OK, if the view is finished, but if after this line I > > add an infinite loop, and in this time I check that table from console > > for the new record,

Re: Django editor for Debian

2009-12-16 Thread Nicu Marcu
Thanks, I will try with eclipse and pydev 2009/12/16 Jani Tiainen > On Tue, 2009-12-15 at 23:58 -0800, 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. >

Re: Django authentication, not permit 2 users with the same name to login in same time

2009-12-15 Thread Nicu Marcu
r user try to login with the same user admin, to have > > a message, you are already login. How can I do something like this? > > > > All the best, > > Nicu Marcu > > > > -- > > > > You extend auth login view so it checks if the user that wants to >

Re: Need help on jquery Ajax load(use load two times)

2009-12-04 Thread Nicu Marcu
Thanks for you answer. i resolve my problem with callback. I put the second load in the first loaf callback function, and works OK. 2009/12/4 Daniel Roseman > On Dec 4, 9:52 am, NMarcu wrote: > > Hello all, > > > > I have a strange problem with jquery load. I have this two loads > > on a cl

Re: How to use French accent on django template?

2009-11-13 Thread Nicu Marcu
Is not coming from database, Db is postgresql, and is set to utf-8, and is accept words with accents. 2009/11/12 Tom Evans > On Thu, Nov 12, 2009 at 4:30 PM, rebus_ wrote: > >> 2009/11/12 NMarcu : >> > Hello all, >> > >> > How to use French accent on django template? It's very strange. in >>

Re: Django internationalization problem: Error: errors happened while running xgettext on __init__.py /bin/sh: xgettext: command not found

2009-11-10 Thread Nicu Marcu
I did not know that gettext should be installed. After installing it ( apt-get install gettext) - Debian, it's working just fine. 2009/11/10 rebus_ > > 2009/11/9 NMarcu : > > > > Hello all, > > > > When I run django-admin.py makemessages -l ro I got this: > > Error: errors happened while runni

Re: uncaught exception: Syntax error, unrecognized expression: %}, on using ajax

2009-11-04 Thread Nicu Marcu
2009/11/4 Nicu Marcu > I'm getting in that specific url, means test_ajax1 view. I test this. It do > the render_to response. I put a print and a raw_input() in that specific > view, and it fire up, on that click event. I think the problem is when that > #test_div is updated.

Re: uncaught exception: Syntax error, unrecognized expression: %}, on using ajax

2009-11-04 Thread Nicu Marcu
I'm getting in that specific url, means test_ajax1 view. I test this. It do the render_to response. I put a print and a raw_input() in that specific view, and it fire up, on that click event. I think the problem is when that #test_div is updated. 2009/11/4 Tom Evans > On Wed, Nov 4, 2009 at 9:50

Re: uncaught exception: Syntax error, unrecognized expression: %}, on using ajax

2009-11-04 Thread Nicu Marcu
I see it with firebug. 2009/11/4 Daniel Roseman > > On Nov 4, 9:50 am, NMarcu wrote: > > Hello all, > > > >I got an error, and I don't know how to pass on it. I got this > > error when I try to use ajax from django templates. > > I use this, from jquery: > > $('#create-user').click(function

Re: Django templates, break a for after an if

2009-10-27 Thread Nicu Marcu
Thanks for help, very cool stuff, work perfect. 2009/10/26 Tom Evans > > On Mon, 2009-10-26 at 15:54 +0200, Jani Tiainen wrote: > > NMarcu kirjoitti: > > > Hello all, > > > > > >I want to do something like this: > > > > > > {% for u in users %} > > > {% for su in superu %} > > >

Message Box with yes and no option ( confirm a deleting operation )

2009-10-02 Thread Nicu Marcu
Hello, There is something similar in django and Python with msgbox? I need to have a confirmation before doing a deletion. -- All the best, Nicolae MARCU --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Confirmation dialog on deleting...

2009-10-01 Thread Nicu Marcu
Hello all, I search over the net, but I don't find how can do this. I need to pop up a dialog with: "Are you sure to delete this?" every time when I want to delete a row from a list, etc. Can you tell me where I found an exemple or some documentation, or how to pop up a dialog box in Django.

Re: Access to postgresql with Django, in Apache server not work, but in Django server work(pyton manage.py ruserver)

2009-09-02 Thread Nicu Marcu
I change the Method to trust, and it's word. Thank you for help. 2009/9/1 Karen Tracey > On Tue, Sep 1, 2009 at 10:54 AM, NMarcu wrote: > >> >> Hello all, >> >> I'm very new in python, Django... I have a Django project. If I run >> it like: python manage.py runserver, everything is OK. When I