migrate id field from integer to biginter (probable bug)

2017-05-31 Thread drakkan
Hi, I have two models like these: class Allarme(models.Model): class Registrazione(models.Model): allarme = models.ForeignKey(Allarme, blank=True, null=True, on_delete=models.DO_NOTHING, db_constraint=False) now I want to change id field for these models from int to

django 1.8 i18n behaviour change

2015-05-02 Thread drakkan
Hi, I updated a project from 1.7 to 1.8 (tested both 1.8.0 and 1.8.1), in my templates and python code I have string in my native language (italian), so my po files look likes this: 1) locale en msgid "original string in italian" msgstr "english translated string" 2) locale it msgid

Re: #2131 SendFile Support

2012-01-09 Thread drakkan
django-sendfile works fine for me too +1 to include in django Nicola On 9 Gen, 09:22, Thomas Guettler wrote: > Hi, > > Ticket #2131 (SendFile support) is open since 6 > years:https://code.djangoproject.com/ticket/2131 > > The implementation is

Re: prefetch_related - new feature suggestion

2011-10-01 Thread drakkan
This look great! I think this approach is better than the one's used by other orms that force a single, heavy, query to retrieve the whole many to many object graphs, would be nice to see it in 1.4 thanks Nicola On 1 Ott, 04:42, Luke Plant wrote: > On 29/09/11 21:43, Alex

Re: making queryset.delete issue only a single SQL query

2010-09-19 Thread drakkan
On 17 Set, 15:38, Tobias McNulty wrote: > On Fri, Sep 17, 2010 at 8:27 AM, SmileyChris wrote: > > >  On Sep 11, 1:12 pm, Tobias McNulty wrote: > > > I may be missing something, but queryset.delete() seems oddly implemented

Re: Ticket #7539 (ON DELETE support) in Django 1.2?

2009-08-19 Thread drakkan
better than sa, drakkan On 19 Ago, 02:16, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > On Wed, Aug 19, 2009 at 1:43 AM, drakkan<drakkan1...@gmail.com> wrote: > > > Hey guys, > > > not a flame only a consideration: the best python orm/sql toolkit > > (sq

Re: Ticket #7539 (ON DELETE support) in Django 1.2?

2009-08-18 Thread drakkan
Hey guys, not a flame only a consideration: the best python orm/sql toolkit (sqlalchemy) already support this and many many other features/ database engines, why not move the efforts in sa integration? Using sa in django is simple but actually you cannot use admin interface On 18 Ago, 17:09,