Re: Django 1.2.1 install in Ubuntu 10.04 via Synaptic?

2010-05-31 Thread Leonel Nunez
> I agree with you, Shawn. I just didn't want to push ahead with a manual uninstall and install if more-experienced Ubuntu users thought I'd be seeing Django 1.2.1 show up in the repository quickly. > > I'll give it a go. Thanks, > Ubuntu is a stable linux distribution. This means once a release

Re: New Guide to Django install on fresh VPS

2009-12-24 Thread Leonel Nunez
> OK, I have Cherokee and uwsgi installed and running. > Now I am hung up on configuring a domain to resolve to a django > project/app. > Leonel: Can you share or point to any configuration details? I have > reviewed the cherokee admin docs and tried the wizard. > Thank you :) > > -- > Just creat

Re: New Guide to Django install on fresh VPS

2009-12-24 Thread Leonel Nunez
> Having a problem with installing uwsgi. Any suggestions? > > $ sudo wget http://projects.unbit.it/downloads/uwsgi-0.9.3.tar.gz > $ sudo tar xf uwsgi-0.9.3.tar.gz > $ cd uwsgi-0.9.3 > $ sudo make -f Makefile.Linux.Py26 > > rm -f utils.o socket.o pymodule.o main.o > gcc -c `python2.6-config --cflag

Re: New Guide to Django install on fresh VPS

2009-12-24 Thread Leonel Nunez
> Hello Leonel, > > I watched the Cherokee Videos and will give it a crack. Here is a new > Google Doc that I will use to document the process. If anyone else > reading this has experience with building out a VPS with Cherokee and > Django along with other key packages, please take a look and share

Re: New Guide to Django install on fresh VPS

2009-12-23 Thread Leonel Nunez
> I have made more progress on this. For any interested I now have it on > a published google doc: http://docs.google.com/View?id=ddbbmdr8_12gv8ccdgs > > Now I would like to cut my teeth on installing memcached. :) > > -- > > You received this message because you are subscribed to the Google Groups

Re: cache optimization

2009-12-22 Thread Leonel Nunez
> instead of apache lets use NGINX .. great :) > or cherokee saludos .. Leonel -- 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

Re: Django with Cherokee web server

2009-10-07 Thread Leonel Nunez
> Thanks for the advice, but I already know how to optimize django apps > (documentation covers this well), so I'm not seeking advice on this. > Neither I'm willing to use Cherokee so I get a magic performance boost > for my app alone (while it is indeed faster than Apache for serving > static con

Re: Form Select Selected Choice

2009-09-22 Thread Leonel Nunez
>>> Can you give a more detailed example of your code? >>> >> >> This is what basically I'm doing: >> >> >> class MyForm(forms.Form): >> myfield = forms.CharField(widget=forms.Select) >> >> >> C =[] >> u = User.objects.all() >> for r in u: >> l1 = [] >> l1.append(r.id) >>

Re: Form Select Selected Choice

2009-09-22 Thread Leonel Nunez
>> Can you give a more detailed example of your code? >> > > This is what basically I'm doing: > > > class MyForm(forms.Form): > myfield = forms.CharField(widget=forms.Select) > > > C =[] > u = User.objects.all() > for r in u: > l1 = [] > l1.append(r.id) > l1.append

Re: Form Select Selected Choice

2009-09-21 Thread Leonel Nunez
> I too spent a day or so on this seemingly simple problem :( > Here's my solution... > > class EMailAddressForm(forms.Form): > > emailType = forms.ChoiceField(required=True,choices=[]) > > def __init__(self, *args, **kwargs): > super(forms.Form, self).__init__(*args, **kwargs) >

Re: Form Select Selected Choice

2009-09-21 Thread Leonel Nunez
> Can you give a more detailed example of your code? > This is what basically I'm doing: class MyForm(forms.Form): myfield = forms.CharField(widget=forms.Select) C =[] u = User.objects.all() for r in u: l1 = [] l1.append(r.id) l1.append(r.username) C.ap

Form Select Selected Choice

2009-09-20 Thread Leonel Nunez
Hello: I'm using form.base_fields['MYFIELD'].widget=widgets.Select(choices=CA) to fill a tag, all works fine but I can't find how to add a SELECTED value, been with this issue all day .. Thank you leonel --~--~-~--~~~---~--~~ You received this message

share info on 2 systems

2009-03-28 Thread Leonel Nunez
Hello I have 2 applications on different servers and I need to share any selected record on the ADMIN on the 2 applications Is there a Django way to do it Thank you Leonel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Foreign keys in admin

2009-03-26 Thread Leonel Nunez
> Hi, > > google for raw_id_fields > > That was faster !! Thank you very much Leonel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googl

Foreign keys in admin

2009-03-26 Thread Leonel Nunez
Hello : I have this model : class Rel(models.Model): n = models.ForeignKey(MASTER) r = models.ForeignKey(MASTER,null=True,related_name='child_set', blank=True) But in the admin gets too slow since this model tries to fill the SELECTs with all the posible values and the MASTE

Re: Accessing django app that is start with FCGI

2009-03-13 Thread Leonel Nunez
> Dear all, > > I'm still new with django. I have just started django with FCGI as such: > python manage.py runfcgi method=prefork host=127.0.0.1 port=8801 > > But when I access my application from the browser : http://localhost:8801 > Nothing happens, the browser just hangs without showing anythi

Django - Python 3

2008-11-16 Thread Leonel Nunez
Hello: As we know python 3 is comming in December: http://www.python.org/download/releases/3.0/ Will there be many changes for django with python 3 Thank You Leonel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: Upload files to separate server from Django

2008-02-25 Thread Leonel Nunez
> > On Mon, 2008-02-25 at 13:34 -0800, [EMAIL PROTECTED] wrote: > > [...] >> I've had ideas of using rsync or scp but I'd like this to be as >> streamlined as possible. With rsync or scp, I'd need to have it check >> when a new file is added to a folder on my WebFaction account and then >> automa

Re: PostgreSQL ByteA

2008-02-18 Thread Leonel Nunez
> > On Mon, 2008-02-18 at 14:40 -0700, Leonel Nunez wrote: >> Hello : >> >> What's the status for PostgreSQL ByteA support in django ?? > > Normally it'd be a good idea to at least summarise what your research > has unturned so people don'

PostgreSQL ByteA

2008-02-18 Thread Leonel Nunez
Hello : What's the status for PostgreSQL ByteA support in django ?? Thank you Leonel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@goog