Possible bug in WSGIHanlder (Apache + Django + WSGI)

2009-05-20 Thread Felipe Prenholato
Hello for everyone. I have here a environment based on Apache, mod_wsgi and WSGIHandler for Django. Sometimes we get a really unusual problem - a blank screen - when we access django applications via Apache. Here is my Apache configuration for virtual host with Django application: # File: myapp-

Re: Django 1.2 release candidate available

2010-05-06 Thread Felipe Prenholato
I need to say thanks and congrats! I'm watching development community just at short time ago and I'm happy and motivated to contribute more and more as I can! 2010/5/6 Vitaly Babiy > Awesome Job, thanks everyone. > Vitaly Babiy > > > > On Thu, May 6, 2010 at 2:53 PM, Nick Serra wrote: > >> Awe

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
Actually auth urls is 'appended' to urls in default backend (and should be added to your own backend if you create one). Take a look at this line: http://1l.to/bf1/ ... so you don't need to add it (again) to your urls. I don't have this error with password_reset_complete view , but I'm using my c

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
gt; <http://brooski.net/accounts/password/reset/confirm/1-2r2-ce8f57c2669d29e5f24e/>and >> then when I click the link I get this error: http://dpaste.org/vrLp/ >> >> >> >> On Thu, Oct 7, 2010 at 5:48 AM, Felipe Prenholato >> wrote: >> >>>

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
mplete') >> 177 - post_change_redirect = >> reverse('registration.auth_views.password_change_done') >> >> It also bears mentioning that name spacing registration can cause a >> similar set of errors. >> >> Let me know if that worked, >> Ted &g

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
templates from admin, so I moved it to templates/registration/ 2010/10/7 Joel Klabo > Yeah. I don't understand that either. Except that auth_views.py uses > different templates I think… > > Sent from my iPhone > > On Oct 7, 2010, at 1:50 PM, Felipe Prenholato > wrote: &g

Re: moving from Postgres to MySQL

2010-10-22 Thread Felipe Prenholato
hm seriously... why not use Django 1.2 and multidb? It is very easy not? conf two dbs, default is your postgres db, I'll call db2 your mysql db and you assert that you did a syncdb in both... so for each model you do: for item in Model.objects.all(): item.save(using='db2',force_insert=True) Pro

Re: Question about losing port number.

2011-09-26 Thread Felipe Prenholato
People, this is DJANGO user list, not PHP user list... Go to the right place (and you will get more help). Felipe 'chronos' Prenholato. Linux User nº 405489 Home page: http://chronosbox.org/blog Twitter: http://twitter.com/chronossc 2011/9/26 Chen Xu > Thx, but $_SERVER['SERVER_PORT'] doesn'

Re: Is there an easy way to popup forms?

2013-02-14 Thread Felipe Prenholato
I use bootstrap modal with some jquery code. jQuery code isnt hard, on Django side what you need is special treatment for ajax call so you can render template for form (and only form), so you can load it into modal. Fortunately I wrote a AjaxUpdateView yesterday. It is in beta, but check at https

Re: Is there an easy way to popup forms?

2013-02-14 Thread Felipe Prenholato
You can't put {{ row.sku }} out of id. Try this: open the dialog This is a test $( "#dialog{{ row.sku }}" ).dialog({ autoOpen: false }); $( "#opener" ).click(function() { $( "#dialog{{ row.sku }}" ).dialog( "open" ); }); 2013/2/14 frocco > open the dialog >

Re: Is there an easy way to popup forms?

2013-02-14 Thread Felipe Prenholato
This can't be included in Django core because does not have a really generic solution. AjaxViews like I posted can handle only POST or can also handle GET and POST, so instead of only reply form with errors also render initial form on GET. Also, is hard to define a standard for responses... I like

Re: PostgresSQL or MySql with django?

2013-03-20 Thread Felipe Prenholato
I'll bookmark this answer and show to anyone who ask about mysql \m/ Felipe 'chronos' Prenholato. Linux User nº 405489 Home page: http://devwithpassion.com | http://chronosbox.org/blog GitHub: http://github.com/chronossc/ | Twitter: http://twitter.com/chronossc 2013/3/18 Russell Keith-Magee >

Re: save as

2013-03-20 Thread Felipe Prenholato
When page loads (document.ready), do a ajax call to a view that returns PDF file. Felipe 'chronos' Prenholato. Linux User nº 405489 Home page: http://devwithpassion.com | http://chronosbox.org/blog GitHub: http://github.com/chronossc/ | Twitter: http://twitter.com/chronossc 2013/3/20 Larry Marte

Re: Apache JQuery deployment advice

2013-03-20 Thread Felipe Prenholato
You can do deploy using git and git tags for version and south migration scripts for db changes. v099 is a git tag in your repository. In some automated way (check fabric). In my case I not gone to fabric yet, so I have a bash script that do: git reset --hard && git pull && git checkout $1 pyt

Re: save as

2013-03-20 Thread Felipe Prenholato
| Twitter: http://twitter.com/chronossc 2013/3/20 Larry Martell > On Wed, Mar 20, 2013 at 2:27 PM, Felipe Prenholato > wrote: > > When page loads (document.ready), do a ajax call to a view that returns > PDF > > file. > > How is a PDF file involved here? > > >

Re: Upload csv with utf-8

2013-04-29 Thread Felipe Prenholato
Take a look, can help: https://github.com/chronossc/django-data-importer Felipe 'chronos' Prenholato. Linux User nº 405489 Home page: http://devwithpassion.com | http://chronosbox.org/blog GitHub: http://github.com/chronossc/ | Twitter: http://twitter.com/chronossc 2013/4/29 Hélio Miranda > I

Re: Implementing a ldap db backend

2011-03-21 Thread Felipe Prenholato
Actually I reached a similar position and I'm interested enought to work on something like that. You are still interested or have some code to share about it? Felipe 'chronos' Prenholato. Linux User nº 405489 Home page: http://chronosbox.org/blog Twitter: http://twitter.com/chronossc 2010/11/

Re: Implementing a ldap db backend

2011-03-22 Thread Felipe Prenholato
I have read and tested some more libs. My concern is that: django-ldapdb (http://opensource.bolloretelecom.eu/projects/django-ldapdb/): amazing idea, I'm working very well to query users, having some issues to write on LDAP but is more probably due server stuff and not django-ldapdb itself. Proba

Complex query, queryset.query.alias_map and query changes

2016-09-23 Thread Felipe Prenholato
^* *HINT: Perhaps you meant to reference the table alias "u9".* The great question is: Is possible to do the query with dynamic aliases to be used in concat string? Maybe the `tables` argument to extra? I not saw much doc about it :\. My Django version is 1.6.x, no

Re: Complex query, queryset.query.alias_map and query changes

2016-09-23 Thread Felipe Prenholato
have updates. Thx Tim. Felipe Prenholato. Home page: http://devwithpassion.com | http://chronosbox.org/blog GitHub: http://github.com/chronossc/ | Twitter: http://twitter.com/chronossc LinkedIn: http://br.linkedin.com/in/felipeprenholato/ 2016-09-23 13:36 GMT-03:00 Tim Graham : > Not sure, this