Re: Should AdminSite be able to handle different namespace?

2013-11-12 Thread Russell Keith-Magee
On Sun, Nov 10, 2013 at 7:47 PM, Florian Apolloner wrote: > Hi Russ, > > > On Saturday, November 9, 2013 11:34:53 PM UTC+1, Russell Keith-Magee wrote: >> >> I'm a little concerned about this talk about deprecation here -- the >> app_name exists for a reason, and at time the

Re: New suggestion: ignoring certain fields on INSERTs and UPDATEs

2013-11-12 Thread Russell Keith-Magee
On Tue, Nov 12, 2013 at 4:20 PM, Apostolos Bessas wrote: > Hello, > > I would like to ask, whether the following feature should/could be > part of Django. > > There are cases that you would the database to handle certain fields. > For instance, > > - set fields to their

Re: Should we care about performance in not-so-updated Python3 (Python 3.2)?

2013-11-12 Thread Russell Keith-Magee
On Wed, Nov 13, 2013 at 12:31 AM, Vajrasky Kok wrote: > Greetings, friends! > > We just added lru_cache in Django. > https://github.com/django/django/commit/9b7455e918a437c3db91e88dcbf6d9c93fef96f8 > > As you can see in django/utils/lru_cache.py, if Python is not

Re: How to livereload Django templates?

2013-11-12 Thread Florian Apolloner
Hi Nikolay, this mailing lists is about the development of Django itself; you might wanna ask that on django-users Regards, Florian On Monday, November 11, 2013 5:45:42 PM UTC+1, Nikolay Georgiev wrote: > > Do you know some tips or concrete steps on how to livereload Django > templates? > >

Should we care about performance in not-so-updated Python3 (Python 3.2)?

2013-11-12 Thread Vajrasky Kok
Greetings, friends! We just added lru_cache in Django. https://github.com/django/django/commit/9b7455e918a437c3db91e88dcbf6d9c93fef96f8 As you can see in django/utils/lru_cache.py, if Python is not shipped with lru_cache (Python 3.1 for example), we provide lru_cache for them. This lru_cache

New suggestion: ignoring certain fields on INSERTs and UPDATEs

2013-11-12 Thread Apostolos Bessas
Hello, I would like to ask, whether the following feature should/could be part of Django. There are cases that you would the database to handle certain fields. For instance, - set fields to their default value in the dabase-level (such as a `created` timestamp), - have the value of fields

How to livereload Django templates?

2013-11-12 Thread Nikolay Georgiev
Do you know some tips or concrete steps on how to livereload Django templates? Livereloading means that if I change the HTML Template, CSS or JS files that these files will be automatically reloaded in the browser, without me having to refresh the page manually. This leads to increased

Re: Enable storing NULL in database

2013-11-12 Thread Vlastimil Zíma
Alesandro: Thanks for link, but this does not quite solve the issue. 1. I don't want user to decide how data gets stored in database. That's my (developer) decision. 2. There are other text fields which stores data as text in database - e.g. URLField and even the FileField. Vlastimil Dne