Re: Where is my Django?

2008-10-23 Thread leonel

Maicon Da Silva wrote:
> Hi every body... first sorry for my english! that's because i'm
> uruguaian(a little country between Brasil and Argentina)
>
> That is my problem:
>
> I have installed Django 0.96 from Synaptic in Ubuntu 8.04 and i don't
> find de directory 'django' in site-packages on /usr/lib/python2.5/site-
> packages or /usr/lib/python-django
>
> Some body can help me?
>
> Thanks!
>
> >
>
>
>   



dpkg -l  python-django   shows  all the package contents ..


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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: ANN: Django 1.0.1 released

2008-11-15 Thread leonel

James Bennett wrote:
> Tonight we've released Django 1.0.1, a bugfix release in the 1.0
> series containing improvements and fixes since the 1.0 release. This
> is a recommended upgrade for anyone currently running Django 1.0.
>
> The blog entry announcing the release is here:
> http://www.djangoproject.com/weblog/2008/nov/15/101/
>
> And the release notes are here:
> http://docs.djangoproject.com/en/dev/releases/1.0.1/
>
>   
Ive downloaded the tar.gz from
http://www.djangoproject.com/download/1.0.1/tarball/

and the  md5sum does not match the md5sum from:
http://media.djangoproject.com/pgp/Django-1.0.1-final.checksum.txt

This is what I get

md5sum Django-1.0.1-final.tar.gz
d93a2d30d06f98f5ffebcee08bca6623  Django-1.0.1-final.tar.gz

Am I missing something ??

Thank you



--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Ruby on Rails vs Django

2008-12-05 Thread leonel

[EMAIL PROTECTED] wrote:
> Hi All,
>
> I'm new to the django world and I was just wondering how Django
> compears with  Ruby on Rails ?
>
> did anybody try Ruby on Rails so can give us a feedback ?
>
> thanks
>
> >
>
>
>   

I was as you long time ago .

I was going to test both and choose .
Tested Django  first  and  had no need to test  rails  

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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



0.96 EOL

2008-07-20 Thread leonel

Hello :

After  version 1.0  are there any plans to support  0.96 for some time  
even a  2 month period ??

Thanks

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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: PostgreSQL with Psycopg2

2008-10-13 Thread leonel

Gaus wrote:
> Hi All
> I am developing my first-Django based project by myself. Wanted to use
> Postgresql with Psycopg2 & dont want to use Sqlite or Mysql for that
> matter. I have a problem which I cant rectify. My development
> environment is as follows :
>
> 1. Ubuntu 8.04
> 2. Python2.5 - compiled & installed\
> 3. Apache2_2.2.4-3ubuntu0.1_all.deb - Downloaded and Installed
> 3. Mod_Python-3.3.tgz - Installed & configured
> 4. Postgresql installed - using  'sudo apt-get install postgresql-8.3
> postgresql-client-8.3
> postgresql-contrib-8.3
> 5. Psycopyg2-2.0.8.tar.gz - Downloaded & Installed.
>
> I created a sample Django project and modified the settings.py  as
> follows :
>
> DATABASE_ENGINE = 'postgresql_psycopg2' # db adaptor
> DATABASE_NAME = 'mydb' # which I created in postgresql
> DATABASE_USER = 'postgres'
> DATABASE_PASSWORD = 'pgadmin'
> DATABASE_HOST = ''
> DATABASE_PORT = ''
>
> Now the problem is when I try to run the syncdb at the terminal I get
> the following errors.
> xterm : python manage.py syncdb
>
> Traceback (most recent call last):
> File "manage.py", line 11, in 
> execute_manager(settings)
>   File "/usr/local/lib/python2.5/site-packages/django/core/
> management.py", line 1672, in execute_manager
> execute_from_command_line(action_mapping, argv)
>   File "/usr/local/lib/python2.5/site-packages/django/core/
> management.py", line 1571, in execute_from_command_line
> action_mapping[action](int(options.verbosity),
> options.interactive)
>   File "/usr/local/lib/python2.5/site-packages/django/core/
> management.py", line 486, in syncdb
> from django.db import connection, transaction, models,
> get_creation_module
>   File "/usr/local/lib/python2.5/site-packages/django/db/__init__.py",
> line 11, in 
> backend = __import__('django.db.backends.%s.base' %
> settings.DATABASE_ENGINE, {}, {}, [''])
>   File "/usr/local/lib/python2.5/site-packages/django/db/backends/
> postgresql_psycopg2/base.py", line 12, in 
> raise ImproperlyConfigured, "Error loading psycopg2 module: %s" %
> e
> django.core.exceptions.ImproperlyConfigured: Error loading psycopg2
> module: No module named psycopg2
>
> PLEASE HELP !!! to sort out this problem.
> Thanks Regards
> ++
> >
>
>
>   

Why you didn't use the ubuntu psycopg2 package  python-psycopg2  ??



--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: ObjectPaginator

2009-01-27 Thread leonel

Patricio Palma wrote:
> Hi guys.
> I'm trying to use Rosetta ( http://code.google.com/p/django-rosetta/ )
>
> in a view (home, a rosetta views) is using a ObjectPaginator and
> InvalidPage but i've a execption
> cant find module  ObjectPaginator.
>
> Googling I fix it using
>
> from django.core.paginator import Paginator as ObjectPaginator,
> InvalidPage
>
> but in some code line call to
>
> get_page() method
>
> 'Paginator' object has no attribute 'get_page'
>
>
> where is my problem
>
>
> Thanks
> >
>
>
>   

get_page is from  version  < 1.0  
in  > 1.0use   page(num)

take a look at :
http://www.djangoproject.com/documentation/models/pagination/

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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django Admin WAP

2008-03-30 Thread leonel

Hello:

Is there a WAP admin for django ??  Been searching and didn't found 
anything about it

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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django Admin WAP

2008-03-30 Thread leonel

Jeff Anderson wrote:
> leonel wrote:
>> Hello:
>>
>> Is there a WAP admin for django ??  Been searching and didn't found 
>> anything about it
>>   
> I'm fairly certain that there is no such thing.
>
> I am curious as to why you need it though. What specifically are you 
> trying to accomplish?
>
> Jeff Anderson
>
I can use the django admin on my cel phone  ( N73 )  It has a nice 
browser based
but I tested on another cel phone and it only knows WAP not full html / 
css / javascript

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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



mail in base64

2008-04-17 Thread leonel

Hello

I need to send mail  and I'm using  send_mail from django.core.mail
All works but the mail gets  base64 encoded

Am I missing some configuration so the send_mail sends the mail not encoded

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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: mail in base64

2008-04-18 Thread leonel

Malcolm Tredinnick wrote:
> On Thu, 2008-04-17 at 11:52 -0600, leonel wrote:
>   
>> Hello
>>
>> I need to send mail  and I'm using  send_mail from django.core.mail
>> All works but the mail gets  base64 encoded
>>
>> Am I missing some configuration so the send_mail sends the mail not encoded
>> 
>
> A few more details are needed here.
>
> (1) What version of Django are you using (the mail infrastructure has
> changed a bit between 0.96 and trunk, from memory)?
>
> (2) What type of content are you sending? Email data must normally be
> 7-bit ASCII, so if you're trying to send stuff outside that range,
> encoding must occur.
>
> (3) Why is this even an issue? Mail clients know how to decode base64
> encoded email. Any program that consumes email must be able to do the
> same, since it's part of the email standards. It shouldn't really make a
> difference anywhere. So what's the use-case that requires this?
>
>   

I've checked  /var/spool/mail/useraccountand saw the encoded mail   
( this is a test devel server )

Now reading your mail  i've checked with email clients (  squirrelmail , 
thunderbird , outlook in linux and windows  ) and you are 100% right   
the mails get decoded as they should.

Thank you very much

> Regards,
> Malcolm
>
>   



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-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: mail in base64

2008-04-18 Thread leonel

Malcolm Tredinnick wrote:
> On Fri, 2008-04-18 at 06:58 -0600, leonel wrote:
>   
>> Malcolm Tredinnick wrote:
>> 
>>> On Thu, 2008-04-17 at 11:52 -0600, leonel wrote:
>>>   
>>>   
>>>> Hello
>>>>
>>>> I need to send mail  and I'm using  send_mail from django.core.mail
>>>> All works but the mail gets  base64 encoded
>>>>
>>>> Am I missing some configuration so the send_mail sends the mail not encoded
>>>> 
>>>> 
>>> A few more details are needed here.
>>>
>>> (1) What version of Django are you using (the mail infrastructure has
>>> changed a bit between 0.96 and trunk, from memory)?
>>>
>>> (2) What type of content are you sending? Email data must normally be
>>> 7-bit ASCII, so if you're trying to send stuff outside that range,
>>> encoding must occur.
>>>
>>> (3) Why is this even an issue? Mail clients know how to decode base64
>>> encoded email. Any program that consumes email must be able to do the
>>> same, since it's part of the email standards. It shouldn't really make a
>>> difference anywhere. So what's the use-case that requires this?
>>>
>>>   
>>>   
>> I've checked  /var/spool/mail/useraccountand saw the encoded mail   
>> ( this is a test devel server )
>>
>> Now reading your mail  i've checked with email clients (  squirrelmail , 
>> thunderbird , outlook in linux and windows  ) and you are 100% right   
>> the mails get decoded as they should.
>> 
>
> Point (3) was mostly a throwaway line, but it's true that what you're
> seeing is simply a transport artifact and doesn't affect functionality.
>
> As James pointed out to me, since you're using Django 0.96, everything
> will be encoded as base64, which does have the various problems
> discussed in #3472. So point (1) is the main thing here. When you move
> to Django 1.0 (when it comes out -- or if you ever use subversion
> trunk), you'll see that a different encoding style (quoted printable) is
> used whenever possible, which makes the mail look a fair bit more
> readable in raw form.
>
> Regards,
> Malcolm
>
>   
Great !

but no functionality change ?

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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 anything.
>
> I've read the docs from here:
> http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#howto-deployment-fastcgi
>
> Have I missed on anything?
>

Yes ..

Your web server that will talk to your browser and to your pyhton app over
fastcgi

lower in the link you provided  are instructions for configuring some web
servers

> Thank you in advance
>
> --
> If you can't believe in God the chances are your God is too small.
>
> Read my blog: http://joshuajava.wordpress.com/
> Follow me on twitter: http://twitter.com/jpartogi
>
> >
>


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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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  MASTER table is BIG .

Is there a way to make this faster ??

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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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.append(l1)

data = {'myfield':'nothing',}

form = MyForm(data)
form.base_fields['myfield'].widget=widgets.Select(choices=C)


The Select gets filled fine with the users data
But I can't find how to add the Selected  user to the   tag.

By default shows the first user in the query.

I hope I've made more clear.


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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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)
> choices = EMailType.objects.all()
> et = []
> for c in choices:
> et.append((c.e_mail_type,c.e_mail_type))
> self.fields['emailType'].choices = et
>
> In my view function (note the value set should be the 'value', not the
> 'label'...
>
> for e in emails:
> emailData.append({'emailType': e.e_mail_type,
>
>   })
>
> email_formset = EMailFormSet(initial=emailData, prefix='emails')
>   # I don't know if this code below is necessary or not.
> email_index = 0
> for e in emails:
> email_formset.forms[email_index].fields
> ['emailType'].selected_choices = e.e_mail_type
> email_index += 1
>


Thank you I'll check the implementation here ..


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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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(r.username)
> C.append(l1)
>
> data = {'myfield':'nothing',}
>
> form = MyForm(data)
> form.base_fields['myfield'].widget=widgets.Select(choices=C)
>
>
> The Select gets filled fine with the users data
> But I can't find how to add the Selected  user to the   tag.
>
> By default shows the first user in the query.
>
> I hope I've made more clear.
>
>
> Thank  you very much
>
>
> Leonel
>


Don't know if this is valid but is working Ive added this

z = '%s selected=selected' % selecteduid
CA.insert(0, {z,'the selected user'})

And is working ..

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-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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(r.username)
>> C.append(l1)
>>
>> data = {'myfield':'nothing',}
>>
>> form = MyForm(data)
>> form.base_fields['myfield'].widget=widgets.Select(choices=C)
>>
>>
>> The Select gets filled fine with the users data
>> But I can't find how to add the Selected  user to the   tag.
>>
>> By default shows the first user in the query.
>>
>> I hope I've made more clear.
>>
>>
>> Thank  you very much
>>
>>
>> Leonel
>>
>
>
> Don't know if this is valid but is working Ive added this
>
> z = '%s selected=selected' % selecteduid
> CA.insert(0, {z,'the selected user'})
>
> And is working ..
>
> Saludos
>
> Leonel
>
>


No, doesn't work, displays fine but when I submit the form I get the value
 with the selected=selected..

..




--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 content).
>
> Instead, I'm looking for advice from someone who already deployed
> Django with Cherokee.


I use   Django + cherokee.

Works great, you can use for load balancing your django apps, or use as a
proxy, or just server static content


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-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




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
> "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...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>


Great  Document.

But you are installing  Apache and nginx, for a VPS you can try
www.cherokee-project.org and it will serve static content and talk to
django using really a low amount of memory

You can use the wizard for django config.
http://www.cherokee-project.com/screencasts.html#django_flup


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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




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
> your observations. I can also be Skype'd at larryeitel.
> Thank you :)
>
> http://docs.google.com/View?id=ddbbmdr8_14fkvbkgcs



I use Django + Cherokee webserver on real and Virtual Private Servers with
Ubuntu

For cherokee on ubuntu just install the package from launchpad :

https://launchpad.net/~cherokee-webserver/+archive/ppa/+packages

I've just uploaded 0.99.38 to launchpad and it's where the latest and
greatest Cherokee for Ubuntu is maintained

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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




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 --cflags` `xml2-config --cflags` utils.c
> /bin/sh: xml2-config: not found
> gcc -c `python2.6-config --cflags` `xml2-config --cflags` socket.c
> /bin/sh: xml2-config: not found
> gcc -c `python2.6-config --cflags` `xml2-config --cflags` -o
> pymodule.o uwsgi_pymodule.c
> /bin/sh: xml2-config: not found
> gcc -c `python2.6-config --cflags` `xml2-config --cflags` -o main.o
> uwsgi.c
> /bin/sh: xml2-config: not found

you need to install the package : libxml2-dev


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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




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 is made,
NO new package versions will be included except for those microreleases :

https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions

Django is in main section for Karmic,Lucid this means that you will have
official SECURITY updates as long as the ubuntu version does not get its
EOL ( karmic 18 months from release date and lucid 5 years)

So you can deploy today with django 1.1.1 in lucid and your app will run
without changes for 5 years.

If you want 1.2.1 wait for it gets into Maveric ( current devel version )
and a backport can be done but this will not have oficial support.

Or wait for someone to make a backport and keep it updated on launchpad PPA


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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



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 create the new virtual server:
http://www.cherokee-project.com/doc/config_virtual_servers.html

or edit de default virtual server

Then add the new rule for /yourapp or  edit the default rule for Django:
http://www.cherokee-project.com/doc/cookbook_django.html

Saludos


--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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't cover what you already know (you did do
> some previous research, right??)

Yes I did and found somenon official patches  but I wanted an official
response  that's why I didn't mention anything.

>
> There is none built in. You could write you own field subclass if you're
> using a recent subversion checkout and you really needed to use it.

Thank you I'll check it out.

>
> One day we'll add a portable binary field, but there are other items on
> our plates first.
>
I imagine

Thank you very much.

> Malcolm
>
> --
> He who laughs last thinks slowest.
> http://www.pointy-stick.com/blog/
>
>


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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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
>> automatically transfer that file to my other host and then delete that
>> file from WebFaction...which I think would be pretty complex to set
>> up.
>
> You're over-estimating the complexity. Run rsync from a cronjob and then
> periodically clean up the directory on the source machine (maybe every
> few days or weeks or whatever). Rsync isn't going to copy stuff that
> already exists, so you can leave the source around for a while.
>
> Malcolm
>
> --
> Why be difficult when, with a little bit of effort, you could be
> impossible.
> http://www.pointy-stick.com/blog/
>
>
> >
>


And what if you store the images on the  database  as part of your record ?
This will give you integrity


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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---