download more records

2013-02-12 Thread Vittorino Parenti
Hi, by admin interface I have to download about 20,000 records using action and checkboxes. The page times out. What other alternative could I use? Thank you, Vittorino -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

store admin selected action checkbox

2013-02-12 Thread Vittorino Parenti
Hi, in Admin changelist I need to store selected action checkbox without lose selections between pages. Selected checkboxes number could be of 1.000/10.000 selections. Someone can give me some advice on how to proceed. Thanks, Vittorino -- You received this message because you are subscribed

could i use a select?

2012-02-07 Thread Vittorino Parenti
Hi, I've an Invoice Model: class Invoice(models.Model): ... number = models.IntegerField(...) customer = models.ForeignKey() date_invoice = ... total_invoice = ... ... To have the top ten customer can i do? I have to use a select: SELECT SUM(total_invoice) AS total FROM

Re: number input format

2012-02-07 Thread Vittorino Parenti
# Thousand separator symbol > THOUSAND_SEPARATOR = ',' > > On Tue, Feb 7, 2012 at 11:56 AM, Vittorino Parenti < > > > > > > vpare...@thundersystems.it> wrote: > > Hi, > > I saw there is this setting DATE_INPUT_FORMATS for date. > > Is there a similar solu

number input format

2012-02-07 Thread Vittorino Parenti
Hi, I saw there is this setting DATE_INPUT_FORMATS for date. Is there a similar solution for the numbers? Thanks, Vittorino. -- 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

Re: dynamic permissions

2012-02-05 Thread Vittorino Parenti
ian:https://github.com/lukaszb/django-guardian > > On Sun, Feb 5, 2012 at 3:59 PM, Vittorino Parenti < > > > > > > vpare...@thundersystems.it> wrote: > > i've a model with document'categories and a model with documents. i > > want set permissions per ca

Re: dynamic permissions

2012-02-05 Thread Vittorino Parenti
-05 at 03:02 -0800, Vittorino Parenti wrote: > > I would like to create dynamic downloading permissions: > > - can download invoices > > - can upload invoices > > - can download contracts > > what is dynamic about this? > -- > regards > Kenneth Gons

dynamic permissions

2012-02-05 Thread Vittorino Parenti
Hi, I have an application 'documents' where documents are stored according to categories: 'invoices', 'contracts', 'orders', 'etc'. I would like to create dynamic downloading permissions: - can download invoices - can upload invoices - can download contracts and so on Thanks, Vittorino -- You

Re: problem with localization

2012-02-04 Thread Vittorino Parenti
  return self.total_income + self.total_fee > >      def total(self): >          return self.total_no_vat() * 1.21 > >      def formatted_total(self): >          return format(self.total(), settings.DECIMAL_SEPARATOR, 2) > > now you can use formatted_total in your list_dis

Re: problem with localization

2012-02-04 Thread Vittorino Parenti
MAL_SEPARATOR, 2) > > hope it helps! Have a nice weekend! > Denis. > > On Sat, Feb 4, 2012 at 9:52 AM, Vittorino Parenti < > > > > > > > > vpare...@thundersystems.it> wrote: > > Hello, > > i've a problem with number format

problem with localization

2012-02-04 Thread Vittorino Parenti
Hello, i've a problem with number format localization. This is an example of my model and admin: MODEL class Procedure(models.Model): total_income = models.DecimalField ( default = 0, max_digits = 11, decimal_places = 4, verbose_name =

Cercasi Programmatori Python

2007-07-24 Thread Vittorino Parenti
La nosrta società cerca programmatori python con le seguenti conoscenze: - Python2.4 o superiori - Django - PostgreSQL, MySQL, Ajax - PHP (non indispensabile) Coloro che fossero interessati possono inviare il CV al seguente indirizzo: [EMAIL PROTECTED] Saluti, Vittorino.

Re: ForeignKey in other models.py

2006-10-20 Thread Vittorino Parenti
Michael Radziej wrote: >Vittorino Parenti schrieb: > > >>Hi, >>i found this in django documentation: >> >>"Note, however, that you can only use strings to refer to models in the >>same models.py file -- you cannot use a string to ref

ForeignKey in other models.py

2006-10-17 Thread Vittorino Parenti
different models.py, how can i do? thanks -- Vittorino Parenti Thunder Systems Srl Tel. 0258018011 Fax 0258018012 www.thundersystems.it Riservatezza In ottemperanza al D.L. n. 196 del 30/6/2003 in materia di protezione dei dati personali, le informazioni contenute in questo mess

Re: translation

2006-10-15 Thread Vittorino Parenti
[EMAIL PROTECTED] wrote: >> i would like translate permissions in "insert group" and "insert user" >> pages. >> how can i do? >> > > Django's Internationalization features are discussed here: > http://www.djangoproject.com/documentation/i18n/ > > Hope this helps! > > > > > I saw that

translation

2006-10-15 Thread Vittorino Parenti
hi, i would like translate permissions in "insert group" and "insert user" pages. how can i do? thanks, -- Vittorino Parenti Thunder Systems Srl Tel. 0258018011 Fax 0258018012 www.thundersystems.it Riservatezza In ottemperanza al D.L. n. 196 del 30/6/2003 in m

adding related objects

2006-10-14 Thread Vittorino Parenti
tatto = models.TextField(maxlength=255, blank=True, verbose_name="Note", core=True) /## fotoContatto/ When I want add a new "Anagrafica", in the bottom of template there is one row for insert "Contatto". In first field (select box) I want select "Ruolo Contatto&