Re: Translation problem

2008-04-30 Thread Mauro
and English strings in the .po file and > recompiled: no error when I switch languages. > > Did I simply forget something obvious? I am having the exact same problem but with Japanese text, any resolution? help?, tip? //mauro// --~--~-~--~~~---~--~~ Yo

Re: Translation problem

2008-05-01 Thread Mauro
uot; which file do you refer to? I am using Linux BTW. Traceback: File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 82. response = callback(request, *callback_args, **callback_kwargs) File "/home/mauro/qpe_site/main/engines/main_engin

Re: Translation problem

2008-05-01 Thread Mauro
On May 1, 4:36 pm, Mauro <[EMAIL PROTECTED]> wrote: > Thank you Gaetan, > > I tried to add a BOM to the .po file but I got an error when compiling > the messages. (kind of expected) > Then I tried to add it at the beginning of my template file but keep > getting the same

Error in running the django server

2011-11-26 Thread Mauro
Hello, I'm trying to run the django server on my mac book pro 2011 with osx lion but I get an error. I'm using the mamp mysql database and I've already configured it inside the setting file. When I try to run the command: python manage.py runserver I got this error: Validating models... Unhan

What's the django convention for templates?

2011-12-09 Thread Mauro
Hello, I'm totally new in the django universe and I'm trying out to build a little project. There are many days who I'm following many tutorial on django framework. But it's not clear for me how the convention for templates is. Following the djangobook I've build a projects who has the followin

Re: What's the django convention for templates?

2011-12-10 Thread Mauro
Thank you :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/LCxQRS7kTnkJ. To post to this group, send email to django-users@googlegroups.com. To unsubscrib

upload files via ajax

2010-12-23 Thread Mauro
Hello, is it possible to upload files via ajax? I would like to upload multiple files in my application but i have the following exception: MultiPartParserError: Invalid boundary in multipart: None I'm using django 1.1. The ajax request has the content type header set as mulitpart/form- data --

Re: upload files via ajax

2011-01-10 Thread Mauro
On 23 Dic 2010, 23:12, Paul Osman wrote: > On Thu, Dec 23, 2010 at 9:39 AM, Mauro wrote: > > Hello, > > is it possible to upload files via ajax? > > > I would like to upload multiple files in my application but i have the > > following exception: > > > Mu

Re: upload files via ajax

2011-01-11 Thread Mauro
On 11 Gen, 12:05, Łukasz Rekucki wrote: > On 11 January 2011 11:28, Jani Tiainen wrote: > > > > > > > On Monday 10 January 2011 16:05:13 Mauro wrote: > >> On 23 Dic 2010, 23:12, Paul Osman wrote: > >> > On Thu, Dec 23, 2010 at 9:39 AM, Mauro w

Decimal separator

2008-01-31 Thread Mauro Sánchez
Hello. How can I establish the comma ',' as the decimal separator? Is there any config file where I should set it up? Thanks. Mauro. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&quo

Re: How to make such query with django ORM?

2007-12-04 Thread Mauro Sánchez
ant to show the Blogs that have certain title. Is it posible to do it? I should use the extra() method in some place? Thanks. Mauro. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-04 Thread Mauro Sánchez
2007/12/4, AY <[EMAIL PROTECTED]>: > > Hi! I am trying to configure Apache to use facbackopan directory as a > django project, and have the following mod_python error message. Help > would be very appreciated. Thanks in advance! > Hi. > > MOD_PYTHON ERROR > > ImproperlyConfigured: Error load

Admin filter and search parameters

2005-11-03 Thread Mauro Sánchez
Hi, how can I know the parameters that the admin interface is using when I apply a filter or I do a search? I want to use those parameters in a custom method. Is it possible to do it? Thanks.

Re: Admin filter and search parameters

2005-11-03 Thread Mauro Sánchez
2005/11/3, Adrian Holovaty <[EMAIL PROTECTED]>: > Take a look at the URL of an admin change-list page after you've > applied a filter or done a search. The query parameters are, > essentially, the same as keyword arguments that can be passed to > get_list(). > Ok, I get that. But, can I load those

Keeping filters when adding in the admin interface

2012-02-29 Thread Mauro Sánchez
as to show the B objects that has a = 1 Is there a way to do this? Thanks a lot for the help. Greetings. Mauro. -- 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 unsubs

Re: Keeping filters when adding in the admin interface

2012-03-02 Thread Mauro Sánchez
El día 29 de febrero de 2012 19:04, Marc Aymerich escribió: > On Wed, Feb 29, 2012 at 10:55 PM, Marc Aymerich wrote: >> On Wed, Feb 29, 2012 at 8:22 PM, Mauro Sánchez wrote: >>> Hello, if I have the following Model: >>> >>> class A: >>>

Re: Keeping filters when adding in the admin interface

2012-03-02 Thread Mauro Sánchez
El día 2 de marzo de 2012 11:06, Marc Aymerich escribió: > On Fri, Mar 2, 2012 at 2:18 PM, Mauro Sánchez wrote: >> El día 29 de febrero de 2012 19:04, Marc Aymerich >> escribió: >>> On Wed, Feb 29, 2012 at 10:55 PM, Marc Aymerich wrote: >>>> On Wed, Fe

Re: Recover User by SESSIONID

2012-06-17 Thread Mauro Alexandre
Sultan, great ! Guess I'll do that too, it's very unsafe. Thanks for the tip! 2012/6/17 Sultan Imanhodjaev > Hey, > > In my case I use generated hash from *user.id* and *user.date_joined*passed > via > *formData* this is poor implementation and potentially insecure but for a > while it works

Re: Recover User by SESSIONID

2012-06-17 Thread Mauro Alexandre
Thanks :) 2012/6/17 Mauro Alexandre > Sultan, great ! > > Guess I'll do that too, it's very unsafe. > > Thanks for the tip! > > > 2012/6/17 Sultan Imanhodjaev > >> Hey, >> >> In my case I use generated hash from *user.id* and *us

Execution time of a long process results in an Internal Server Error 500

2013-01-10 Thread Mauro Sánchez
or 15 minutes it just keeps running until it finish? Thanks a lot for the help. Cheers, Mauro. -- 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 t

New book: Instant Django 1.5 Application Development Starter

2013-04-05 Thread Mauro Rocco
Here you found the book in different formats: http://www.packtpub.com/django-1-5-application-development-starter/book (Amazon,Safari) Thanks Mauro -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: New book: Instant Django 1.5 Application Development Starter

2013-04-08 Thread Mauro Rocco
Thank you On Friday, April 5, 2013 8:27:34 PM UTC+2, megaBos wrote: > > good job -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

Re: Django 1.5 Tutorial Part 3, Test after Update of Polls/urls.py

2013-08-21 Thread Mauro Rocco
Hi, The 34 is the id of the pool record in the database. This means that you don't have a pool with that ID in the database. If you already created some pool object you will probably see something if you navigate to this url /polls/1/results/. If also in this case you got 404 make sure you actual

Re: Problem with translations

2013-08-21 Thread Mauro Rocco
Hi, That's strange. To me looks like the server from time to time can not access this files as you said. What you use in production Apache/ModWSGI ? Regards On Wednesday, August 21, 2013 2:57:51 PM UTC+2, Andréas Kühne wrote: > > Hi, > > I am working on a website that is available in 10 differen

sql query to annotation values e aggretate statements

2015-01-29 Thread Mauro Ziliani
Hi all. My name's Mauro and I start to work with Django 1.7.3 I work on my project which tracks my accounting. I need to translate a SQL query to annoteta values aggretate statements. The application is named accounting The models involved are: class Nominativo(models.Model):

Django 1.7 opening one database connection for each request

2014-09-09 Thread Mauro Alexandre
Please help, i have a problems in my production enviromet. After Django update when my database stopping by "Too many open connections". I use mariadb and, i tried set explict 'CONN_MAX_AGE' to 0, but now solved. I'm desperate, I do not know what to do with the production environment. -- You

How to restrict Model.objects.all() to data pertaining to one organization

2018-04-10 Thread Mauro Crociara
about the problem. Up to now I have no solution and no clue how to proceed. Maybe you can show me the right direction. Thanks for your time and support! Mauro -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Django dependecies

2018-05-02 Thread Mauro Ribeiro
Hi, Why does django include jquery? django/django/contrib/admin/static/admin/js/vendor/jquery/jquery.js What use does it make of it? I cant have that version of jquery in my app so I want to know that impacts of jquery on django. Thanks -- You received this message because you are subscribed

Ubuntu 16.04 Django 1.9.6 & MySql

2016-05-05 Thread Mauro Miotello
I cannot install mysqlclient on this env many errors is there a right path ? thanks MM -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr..

How do you disable SECURE_SSL_REDIRECT for some views in Django?

2016-09-09 Thread Mauro Sánchez
e the same regular expressions that I use in my urls.py, for example: r'^index/$' But it doesn't do anything. It is still redirecting it to HTTPS. Does anyone has an example of how to use it? I am using Django 1.9 Thanks a lot. Cheers. Mauro. -- You received this message because

From SQL to Django Queryset API

2017-03-29 Thread Mauro Ziliani
Hi all. My name's Mauro and I working on a DB (SQLite3 now and Postgres in the future). I have a table Movimento with the fields anno integer,impianto integer,dare decimal(10,2),avere decimal(10,2) BY hands I can run SELECT anno,impianto, sum(dare), sum(avere) FROM movimento GROUP BY

Revoke celery task

2017-04-11 Thread Mauro Sánchez
Hello, I am trying to revoke a Pending task in celery without success. I have tried all this ways: app.control.revoke(task_id) revoke(campaign.state_task) async_result.revoke() AsyncResult(task_id).revoke() None of them work. I am using: celery==3.1.23 django-celery==3.1.17 Django==1.9.13 tenant-s

Re: Revoke celery task

2017-04-12 Thread Mauro Sánchez
Hello, I've found out my problem. It is that I am using Heroku, so when the worker is restarted, the revoked tasks list is lost. How can I persist this list in Heroku? Since I cannot write a file in the filesystem. Thanks a lot. El miércoles, 12 de abril de 2017, 1:09:08 (UTC-3), Mauro Sá

Passing an ID through a Modal to delete a user in a View

2018-11-05 Thread Mauro Caresimo
Hello Im having some issues trying to pass an id through a modal. Basically I want to pass an id through a modal, via urls.py and to hit a function in the views to delete the user. This is my modal: Much appreciated for any help. Fairly new to Django. Really hope someone can come to my rescue :

Re: upload files via ajax

2011-01-12 Thread Mauro Del Rio
On Tue, Jan 11, 2011 at 1:12 PM, Jani Tiainen wrote: > > http://valums.com/ajax-upload/ > > There is one standalone version how to do it pretty much browser > independently. > > > > -- > > Jani Tiainen > It seems to be what i am looking for, thanks! > > > > > -- > You received this message becau