Issue with save/save_model/clean from admin (django 1.6.3dev)

2014-02-24 Thread Stefano Crosta
Hello! I'm trying to understand if this is a bug, or a not clearly documented feature. I have a simple model where one field should be calculated at save. eg. class MyModel(models.Model): a = models.CharField(max_length=255) b = models.CharField(max_length=255, blank = True) Now, if

Re: AbstractUser to get more abstract

2013-09-24 Thread Stefano Crosta
Hello all, this thread as gone so fast that I didn't manage to catch up and jump in time probably, but I did write a contrib app for Email-only user model: https://bitbucket.org/3h/django-accounts My experience: I had to copy-paste a LOT of code to be sure all works, definitely much more that

Re: Order of INSTALLED_APPS

2013-08-14 Thread Stefano Crosta
Done! https://code.djangoproject.com/ticket/20914#ticket thanks! On Tuesday, August 13, 2013 12:20:48 PM UTC+2, Aymeric Augustin wrote: > > 2013/8/13 Stefano Crosta <stefano...@gmail.com > > >> My proposal would then be to simply add another box to the >> https://do

Re: Order of INSTALLED_APPS

2013-08-13 Thread Stefano Crosta
Aymeric, Ramiro, Florian, thanks a lot for your answers! Indeed there is some (slightly hidden :D ) documentation! And it has improved since 1.5, I now see! - I remembered reading something before, but I couldn't find them anymore when I wrote yesterday's message. My proposal would then be to

Order of INSTALLED_APPS

2013-08-12 Thread Stefano Crosta
Hello! There is one situation where the order of INSTALLED_APPS really matters - which is template override. One typical case is grappelli - see https://django-grappelli.readthedocs.org/en/2.4.5/quickstart.html#setup Though not officially documented (?) I've found references in the mailing

Re: Offset/limit and looping over a large dataset

2013-03-27 Thread Stefano Crosta
:02 AM UTC+1, Anssi Kääriäinen wrote: > > On 03/27/2013 10:53 AM, Stefano Crosta wrote: > > Thanks Aymeric, > > that's true, and I should have put that link too. > > sadly "akaariai" who's the only one who seemed to understand a bit > > about it (an

Re: Offset/limit and looping over a large dataset

2013-03-27 Thread Stefano Crosta
, March 27, 2013 9:21:51 AM UTC+1, Aymeric Augustin wrote: > > On 27 mars 2013, at 09:10, Stefano Crosta <stefano...@gmail.com> > wrote: > > > it would be great to see server-side cursors and/or a smarter way to > iterate make it into core. > > FYI this topic is trac

Offset/limit and looping over a large dataset

2013-03-27 Thread Stefano Crosta
On Tuesday, March 26, 2013 10:47:34 PM UTC+1, Petite Abeille wrote: > > > On Mar 26, 2013, at 10:03 PM, Alex Gaynor > wrote: > > > For what it's worth, SQL2011 does define OFFSET, finally. > > Perhaps worthwhile mentioning as well : > > "Do not try to implement a

Re: Django 1.4 bug: Using cache_page and csrf_protect decorators results in a messy Set-Cookie response header.

2012-08-03 Thread Stefano Crosta
Hello! Anything new on this matter? I could not find a bug opened on django on this subject... On Friday, May 18, 2012 7:37:51 AM UTC+2, Paul McMillan wrote: > No. please open a new bug detailing this issue. > > > > -Paul > > > > On Tue, May 15, 2012 at 6:53 AM, Rafał Stożek